3rdParty-devel/CMakeLists.txt: Set CMAKE_FIND_ROOT_PATH
This standard CMake variable allows CMake to find dependencies on non-standard directories, such as ${EXTERNALS_INSTALL_DIR}. git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9571 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: acacfb8605838769657058188fd5adfad2dc71af Former-commit-id: 4a7917b408d3e109fe3627875d49c2bd0bc28326
This commit is contained in:
parent
410222311e
commit
e6be91940d
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ if(NOT ${CMAKE_VERSION} VERSION_LESS "3.17.0")
|
|||
endif()
|
||||
|
||||
list(APPEND EXTERNALS_CMAKE_ARGS "-D CMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}")
|
||||
list(APPEND EXTERNALS_CMAKE_ARGS "-D CMAKE_FIND_ROOT_PATH=${EXTERNALS_INSTALL_DIR}")
|
||||
|
||||
if(WIN32)
|
||||
set(_max_ext_path "64")
|
||||
|
|
Loading…
Reference in a new issue