mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 04:23:33 +02:00
include GLUT and OpenGL dirs as system includes
This commit is contained in:
parent
20dd5d6e8d
commit
dbf8021ccd
2 changed files with 2 additions and 2 deletions
|
@ -215,7 +215,7 @@ else (APPLE)
|
|||
find_package(OpenGL REQUIRED)
|
||||
find_package(GLUT REQUIRED)
|
||||
|
||||
include_directories("${GLUT_INCLUDE_DIR}" "${OPENGL_INCLUDE_DIR}")
|
||||
include_directories(SYSTEM "${GLUT_INCLUDE_DIR}" "${OPENGL_INCLUDE_DIR}")
|
||||
target_link_libraries(${TARGET_NAME} "${OPENGL_LIBRARY}" "${GLUT_LIBRARIES}")
|
||||
|
||||
# link target to external libraries
|
||||
|
|
Loading…
Reference in a new issue