25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
416 B

  1. SET(CMAKE_SYSTEM_NAME Linux)
  2. SET(CMAKE_C_COMPILER emcc)
  3. SET(CMAKE_CXX_COMPILER em++)
  4. if(NOT DEFINED CMAKE_AR)
  5. find_program(CMAKE_AR NAMES emar)
  6. endif()
  7. if(NOT DEFINED CMAKE_RANLIB)
  8. find_program(CMAKE_RANLIB NAMES emranlib)
  9. endif()
  10. set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
  11. set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
  12. set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH)
  13. set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)