Skip to content

Commit

Permalink
cmake/KDAB/modules/KDQtInstallPaths.cmake - sync to upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Winter committed Nov 21, 2024
1 parent 1f9c5e9 commit d241459
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmake/KDAB/modules/KDQtInstallPaths.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ foreach(qval ${VARS_LIST})
list(GET QVAL_LIST 1 path)
endif()
if(NOT ${var}) #if set already on the command line for example
set(${var} ${path} CACHE PATH "Qt install path for ${var}")
set(${var}
${path}
CACHE PATH "Qt install path for ${var}"
)
endif()
endif()
endforeach()

0 comments on commit d241459

Please sign in to comment.