cross-macos.cmake (328B)
1 # the name of the target operating system 2 set(CMAKE_SYSTEM_NAME Darwin) 3 4 # which compilers to use for C and C++ 5 set(CMAKE_C_COMPILER o64-clang) 6 set(CMAKE_CXX_COMPILER o64-clang++) 7 8 # adjust the default behavior of the FIND_XXX() commands: # search programs in the host environment 9 set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)