From e6be91940d77ab45150ce7581d89918e044ec526 Mon Sep 17 00:00:00 2001 From: xavi92 Date: Sun, 27 Oct 2024 07:46:50 +0000 Subject: [PATCH] 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 --- packaging/3rdParty-devel/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/3rdParty-devel/CMakeLists.txt b/packaging/3rdParty-devel/CMakeLists.txt index 926ee0c0..94656084 100644 --- a/packaging/3rdParty-devel/CMakeLists.txt +++ b/packaging/3rdParty-devel/CMakeLists.txt @@ -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")