diff options
Diffstat (limited to 'build_files/cmake')
-rw-r--r-- | build_files/cmake/platform/platform_apple.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/build_files/cmake/platform/platform_apple.cmake b/build_files/cmake/platform/platform_apple.cmake index e428b2abab3..f2a8bd42a3e 100644 --- a/build_files/cmake/platform/platform_apple.cmake +++ b/build_files/cmake/platform/platform_apple.cmake @@ -36,7 +36,8 @@ endmacro() # ------------------------------------------------------------------------ # Find system provided libraries. -# Avoid searching for headers in frameworks (like Mono), and libraries in LIBDIR. +# Avoid searching for headers since this would otherwise override our lib +# directory as well as PYTHON_ROOT_DIR. set(CMAKE_FIND_FRAMEWORK NEVER) # Find system ZLIB, not the pre-compiled one supplied with OpenCollada. @@ -439,6 +440,9 @@ if(EXISTS ${LIBDIR}) without_system_libs_end() endif() +# Restore to default. +set(CMAKE_FIND_FRAMEWORK FIRST) + # --------------------------------------------------------------------- # Set compiler and linker flags. |