diff options
author | Jason Wilkins <Jason.A.Wilkins@gmail.com> | 2014-10-08 00:46:19 +0400 |
---|---|---|
committer | Jason Wilkins <Jason.A.Wilkins@gmail.com> | 2014-10-08 00:47:32 +0400 |
commit | 8d084e8c8f48dd2f07d4a3fbd4a941a7bcc0dcfb (patch) | |
tree | 5bf15f4f74f3e5a307cfa3f734b2cd086dca69bd /extern/CMakeLists.txt | |
parent | a8705e99ee8ec9de2f25c3bac1e9895c2f98c224 (diff) |
Ghost Context Refactor
https://developer.blender.org/D643
Separates graphics context creation from window code in Ghost so that they can vary separately.
Diffstat (limited to 'extern/CMakeLists.txt')
-rw-r--r-- | extern/CMakeLists.txt | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/extern/CMakeLists.txt b/extern/CMakeLists.txt index 8d85551d493..7e91e19d2f5 100644 --- a/extern/CMakeLists.txt +++ b/extern/CMakeLists.txt @@ -47,7 +47,11 @@ if(WITH_BINRELOC) endif() if(NOT WITH_SYSTEM_GLEW) - add_subdirectory(glew) + if(WITH_GLEW_ES) + add_subdirectory(glew-es) + else() + add_subdirectory(glew) + endif() endif() if(WITH_GAMEENGINE) @@ -79,10 +83,8 @@ if(WITH_MOD_BOOLEAN) add_subdirectory(carve) endif() -if(WITH_GHOST_XDND) - if(UNIX AND NOT APPLE) - add_subdirectory(xdnd) - endif() +if(WITH_X11 AND WITH_GHOST_XDND) + add_subdirectory(xdnd) endif() if(WITH_GTESTS) |