Guest User

Untitled

a guest
Nov 3rd, 2015
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.41 KB | None | 0 0
  1. # Since Emscripten is a cross-compiler, we should never look at the system-provided directories like /usr/include and so on.
  2. # 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
  3. set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
  4. set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
  5. set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
Advertisement
Add Comment
Please, Sign In to add comment