mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-09 01:22:21 +02:00
add a find module for glew and tweak glm module
This commit is contained in:
parent
cfc55c0435
commit
594d43db84
2 changed files with 2 additions and 1 deletions
|
@ -49,6 +49,7 @@ ELSE (GLM_INCLUDE_DIR)
|
|||
IF(GLM_ROOT_DIR)
|
||||
SET(_glm_HEADER_SEARCH_DIRS "${GLM_ROOT_DIR}"
|
||||
"${GLM_ROOT_DIR}/include"
|
||||
"$ENV{HIFI_LIB_DIR}"
|
||||
${_glm_HEADER_SEARCH_DIRS})
|
||||
ENDIF(GLM_ROOT_DIR)
|
||||
|
||||
|
|
|
@ -233,6 +233,6 @@ else (APPLE)
|
|||
if (WIN32)
|
||||
find_package(GLEW REQUIRED)
|
||||
include_directories(${GLEW_INCLUDE_DIRS})
|
||||
target_link_libraries(${TARGET_NAME} "${GLUT_LIBRARY}" "${GLEW_LIBRARIES}" wsock32.lib opengl32.lib)
|
||||
target_link_libraries(${TARGET_NAME} "${GLUT_LIBRARY}" "${GLEW_LIBRARY}" wsock32.lib opengl32.lib)
|
||||
endif()
|
||||
endif (APPLE)
|
Loading…
Reference in a new issue