mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-22 18:32:44 +01:00
cmake: use OpenGL GLVND libraries by default
Needed since CMake 3.11.0: CMP0072 policy
This commit is contained in:
parent
d03a33c284
commit
2a429e37f8
@ -8,6 +8,7 @@ include("${PROJECT_SOURCE_DIR}/cmake_options.cmake")
|
|||||||
# Create a rw_interface TARGET that holds all compiler options
|
# Create a rw_interface TARGET that holds all compiler options
|
||||||
include("${PROJECT_SOURCE_DIR}/cmake_configure.cmake")
|
include("${PROJECT_SOURCE_DIR}/cmake_configure.cmake")
|
||||||
|
|
||||||
|
set(OpenGL_GL_PREFERENCE GLVND)
|
||||||
find_package(OpenGL REQUIRED)
|
find_package(OpenGL REQUIRED)
|
||||||
find_package(OpenAL REQUIRED)
|
find_package(OpenAL REQUIRED)
|
||||||
find_package(Bullet REQUIRED)
|
find_package(Bullet REQUIRED)
|
||||||
|
Loading…
Reference in New Issue
Block a user