equal
deleted
inserted
replaced
32 /sw/lib |
32 /sw/lib |
33 /opt/local/lib |
33 /opt/local/lib |
34 $ENV{PROGRAMFILES}/GLEW/lib |
34 $ENV{PROGRAMFILES}/GLEW/lib |
35 DOC "The GLEW library") |
35 DOC "The GLEW library") |
36 |
36 |
|
37 if(BUILD_ENGINE_JS) |
|
38 set(GLEW_INCLUDE_DIR "${EMSCRIPTEN_ROOT_PATH}/system/include") |
|
39 SET(GLEW_LIBRARY "glew_emscripten_internal") |
|
40 endif() |
|
41 |
37 find_package_handle_standard_args(GLEW DEFAULT_MSG GLEW_LIBRARY GLEW_INCLUDE_DIR) |
42 find_package_handle_standard_args(GLEW DEFAULT_MSG GLEW_LIBRARY GLEW_INCLUDE_DIR) |
38 mark_as_advanced(GLEW_LIBRARY GLEW_INCLUDE_DIR) |
43 mark_as_advanced(GLEW_LIBRARY GLEW_INCLUDE_DIR) |
39 |
44 |