diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-04-08 05:00:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-04-08 05:01:29 +0300 |
commit | 8205a1932341834f31d5efd16cef51bc66eab9de (patch) | |
tree | 6d63801c67b90c546c84cd229222a6fa29b489aa /source/CMakeLists.txt | |
parent | bd3a1b9490d96ca00748f405037379b743744877 (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.txt | 4 |
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) |