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:
Diffstat (limited to 'extern/CMakeLists.txt')
-rw-r--r--extern/CMakeLists.txt12
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)