aboutsummaryrefslogtreecommitdiffhomepage
path: root/CMake
diff options
context:
space:
mode:
authorKylmakalle <iceman9831@gmail.com>2026-06-12 20:34:16 +0300
committerAliaksei Levin <22669599+levlam@users.noreply.github.com>2026-06-13 12:46:44 +0300
commit9ae32a3914ac41458bf9766ed76f2686b30cac29 (patch)
tree3e5abfe08cee287ecb16e4079d83eae7449af143 /CMake
parent0917763471cab8ccf8a4847c06ab32b386e7e65a (diff)
unset CMAKE_FIND_ROOT_PATH_MODE_PROGRAM
Diffstat (limited to 'CMake')
-rw-r--r--CMake/iOS.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/CMake/iOS.cmake b/CMake/iOS.cmake
index 0bdbe7505..329a18353 100644
--- a/CMake/iOS.cmake
+++ b/CMake/iOS.cmake
@@ -253,7 +253,6 @@ set (CMAKE_SYSTEM_FRAMEWORK_PATH
)
# only search the iOS sdks, not the remainder of the host filesystem
-set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY)
set (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
@@ -264,7 +263,6 @@ endmacro (set_xcode_property)
# This macro lets you find executable programs on the host system
macro (find_host_package)
- set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY NEVER)
set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE NEVER)
set (IOS FALSE)
@@ -272,7 +270,6 @@ macro (find_host_package)
find_package(${ARGN})
set (IOS TRUE)
- set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY)
set (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
endmacro (find_host_package)