Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Since Emscripten is a cross-compiler, we should never look at the system-provided directories like /usr/include and so on.
- # Therefore only CMAKE_FIND_ROOT_PATH should be used as a find directory. See http://www.cmake.org/cmake/help/v3.0/variable/CMAKE_FIND_ROOT_PATH_MODE_INCLUDE.html
- set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
- set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
- set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
Advertisement
Add Comment
Please, Sign In to add comment