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:
authorCampbell Barton <ideasman42@gmail.com>2017-04-08 05:00:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-04-08 05:01:29 +0300
commit8205a1932341834f31d5efd16cef51bc66eab9de (patch)
tree6d63801c67b90c546c84cd229222a6fa29b489aa /source/CMakeLists.txt
parentbd3a1b9490d96ca00748f405037379b743744877 (diff)
Fix WITH_LEGACY_OPENGL=ON
This wasn't working outside of gpu module.
Diffstat (limited to 'source/CMakeLists.txt')
-rw-r--r--source/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
index c696719e650..4e4724771f3 100644
--- a/source/CMakeLists.txt
+++ b/source/CMakeLists.txt
@@ -23,6 +23,10 @@
#
# ***** END GPL LICENSE BLOCK *****
+if(WITH_LEGACY_OPENGL)
+ add_definitions(-DWITH_LEGACY_OPENGL)
+endif()
+
add_subdirectory(blender)
if(WITH_GAMEENGINE)