mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 22:39:18 +02:00
cmake policy: prefer GLVND
This commit is contained in:
@@ -148,6 +148,7 @@ set_target_properties( ${PROJECT_NAME}
|
|||||||
DEBUG_POSTFIX "_d"
|
DEBUG_POSTFIX "_d"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
cmake_policy(SET CMP0072 NEW)
|
||||||
find_package(OpenGL REQUIRED)
|
find_package(OpenGL REQUIRED)
|
||||||
include_directories(${OPENGL_INCLUDE_DIR})
|
include_directories(${OPENGL_INCLUDE_DIR})
|
||||||
target_link_libraries(${PROJECT_NAME} ${OPENGL_LIBRARIES})
|
target_link_libraries(${PROJECT_NAME} ${OPENGL_LIBRARIES})
|
||||||
|
|||||||
Reference in New Issue
Block a user