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>2011-04-06 03:31:01 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-04-06 03:31:01 +0400
commitca254dd37b5dd2c52a88d952569a20026fcae6cb (patch)
treecfdf86a227ea773862dc5473e91cdab2e875d427 /extern/CMakeLists.txt
parentd5d9c56cb54870edd08a2363178f573eebe08601 (diff)
add option WITH_BUILTIN_GLEW, so linux packagers can disable to use their own glew library.
Diffstat (limited to 'extern/CMakeLists.txt')
-rw-r--r--extern/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/extern/CMakeLists.txt b/extern/CMakeLists.txt
index 999e60980db..d74c6683f2c 100644
--- a/extern/CMakeLists.txt
+++ b/extern/CMakeLists.txt
@@ -35,7 +35,9 @@ if(WITH_BINRELOC)
add_subdirectory(binreloc)
endif()
-add_subdirectory(glew)
+if(WITH_BUILTIN_GLEW)
+ add_subdirectory(glew)
+endif()
if(WITH_IMAGE_OPENJPEG AND (NOT UNIX OR APPLE))
add_subdirectory(libopenjpeg)