From e5e2ccf45c324efac0f304965060487f1478bc78 Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 11 Apr 2017 17:29:09 +0200 Subject: [PATCH] Changed: Minor changes --HG-- branch : develop --- code/CMakeModules/OSXToolChain.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/CMakeModules/OSXToolChain.cmake b/code/CMakeModules/OSXToolChain.cmake index 264826812..d7d0853b4 100644 --- a/code/CMakeModules/OSXToolChain.cmake +++ b/code/CMakeModules/OSXToolChain.cmake @@ -17,7 +17,7 @@ IF(DEFINED CMAKE_CROSSCOMPILING) RETURN() ENDIF() -# Force the compilers to Clang for iOS +# Force the compilers to Clang for OS X SET(CMAKE_C_COMPILER x86_64-apple-darwin15-clang) SET(CMAKE_CXX_COMPILER x86_64-apple-darwin15-clang++) set(CMAKE_CXX_COMPILER_ID "AppleClang") @@ -86,7 +86,7 @@ set(CMAKE_SYSTEM_PROCESSOR "x86_64") SET(UNIX ON) SET(APPLE ON) -# Set the find root to the iOS developer roots and to user defined paths +# Set the find root to the OS X developer roots and to user defined paths SET(CMAKE_FIND_ROOT_PATH ${CMAKE_OSX_TOOLCHAIN_ROOT} ${CMAKE_OSX_SYSROOT} ${CMAKE_PREFIX_PATH} ${CMAKE_INSTALL_PREFIX} ${MACPORTS_ROOT_DIR} ${EXTERNAL_OSX_PATH} $ENV{EXTERNAL_OSX_PATH} CACHE STRING "OS X find search path root") # default to searching for frameworks first @@ -99,7 +99,7 @@ SET(CMAKE_SYSTEM_FRAMEWORK_PATH ${CMAKE_OSX_SYSROOT}/Developer/Library/Frameworks ) -# only search the iOS sdks, not the remainder of the host filesystem +# only search the OS X 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)