1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 02:12:45 +01:00

cmake: use OpenGL GLVND libraries by default

Needed since CMake 3.11.0: CMP0072 policy
This commit is contained in:
Anonymous Maarten 2018-04-16 20:36:58 +02:00
parent d03a33c284
commit 2a429e37f8

View File

@ -8,6 +8,7 @@ include("${PROJECT_SOURCE_DIR}/cmake_options.cmake")
# Create a rw_interface TARGET that holds all compiler options
include("${PROJECT_SOURCE_DIR}/cmake_configure.cmake")
set(OpenGL_GL_PREFERENCE GLVND)
find_package(OpenGL REQUIRED)
find_package(OpenAL REQUIRED)
find_package(Bullet REQUIRED)