diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-04-06 03:31:01 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-04-06 03:31:01 +0400 |
commit | ca254dd37b5dd2c52a88d952569a20026fcae6cb (patch) | |
tree | cfdf86a227ea773862dc5473e91cdab2e875d427 /source/blenderplayer/CMakeLists.txt | |
parent | d5d9c56cb54870edd08a2363178f573eebe08601 (diff) |
add option WITH_BUILTIN_GLEW, so linux packagers can disable to use their own glew library.
Diffstat (limited to 'source/blenderplayer/CMakeLists.txt')
-rw-r--r-- | source/blenderplayer/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blenderplayer/CMakeLists.txt b/source/blenderplayer/CMakeLists.txt index a4d3e1b13fc..f40c240d7c5 100644 --- a/source/blenderplayer/CMakeLists.txt +++ b/source/blenderplayer/CMakeLists.txt @@ -112,13 +112,16 @@ if(UNIX) bf_intern_audaspace blenkernel_blc extern_binreloc - extern_glew extern_minilzo bf_intern_ghost # duplicate for linking bf_blenkernel # duplicate for linking bf_intern_mikktspace ) + if(WITH_BUILTIN_GLEW) + list(APPEND BLENDER_SORTED_LIBS extern_glew) + endif() + if(WITH_LZMA) list(APPEND BLENDER_SORTED_LIBS extern_lzma) endif() |