1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00

Fix CMake projects, restore testing with OpenGL disabled

This commit is contained in:
Michał Janiszewski
2016-06-12 18:49:26 +02:00
parent fa4662be42
commit 0ac5c3698b
2 changed files with 7 additions and 0 deletions

View File

@@ -58,6 +58,9 @@ endif ()
if (DISABLE_OPENGL)
add_definitions(-DDISABLE_OPENGL)
else (DISABLE_OPENGL)
# Makes OpenGL function get queried in run-time rather than linked-in
add_definitions(-DOPENGL_NO_LINK)
endif (DISABLE_OPENGL)
if (DISABLE_NETWORK)