WinCrossCompile.cmake 371 B

123456789
  1. # Required by cmake if `uname -s` is inadaquate
  2. SET(CMAKE_SYSTEM_NAME Windows)
  3. SET(CMAKE_SYSTEM_VERSION 1)
  4. # Search for programs in the build host directories
  5. SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
  6. # For libraries and headers in the target directories
  7. SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
  8. SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)