Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2017-04-14 18:16:15 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2017-04-14 18:16:15 +0300
commite7c4eddace27272ba4d14f7e2fd0a39256e3c656 (patch)
tree1652f958f20322dbd2602bd8991935205bfc4475 /CMakeLists.txt
parent89e23c743e601940fc051189ef01c537233d2043 (diff)
Add fatal error in CMake when trying to build WITH_GAMEENGINE but without WITH_LEGACY_OPENGL
This won't work currently.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 19e13612baa..9789e563681 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -681,6 +681,10 @@ if(NOT WITH_GAMEENGINE AND WITH_PLAYER)
message(FATAL_ERROR "WITH_PLAYER requires WITH_GAMEENGINE")
endif()
+if(WITH_GAMEENGINE AND NOT WITH_LEGACY_OPENGL)
+ message(FATAL_ERROR "WITH_GAME_ENGINE requires WITH_LEGACY_OPENGL")
+endif()
+
if(NOT WITH_AUDASPACE)
if(WITH_OPENAL)
message(FATAL_ERROR "WITH_OPENAL requires WITH_AUDASPACE")