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>2014-08-01 21:07:41 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-08-01 21:08:29 +0400
commit7b83e3d6d7880124be4ed36d81c92953ec88bad0 (patch)
tree2209767f2ba7f2eb688056eed976c43b100e9c0a /CMakeLists.txt
parent3c9e11df37581c6faf937bbe974710a7fc95e380 (diff)
CMake: tweak so 2.8.7 and older still work (disable WITH_BUILDINFO)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fff4f0c495b..8ef906ad00c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -136,6 +136,11 @@ if(APPLE)
endif()
option(WITH_BUILDINFO "Include extra build details (only disable for development & faster builds)" ON)
+if(${CMAKE_VERSION} VERSION_LESS 2.8.8)
+ # add_library OBJECT arg unsupported
+ set(WITH_BUILDINFO OFF)
+endif()
+
option(WITH_IK_ITASC "Enable ITASC IK solver (only disable for development & for incompatible C++ compilers)" ON)
option(WITH_IK_SOLVER "Enable Legacy IK solver (only disable for development)" ON)
option(WITH_FFTW3 "Enable FFTW3 support (Used for smoke and audio effects)" ON)