[Bf-blender-cvs] [faad487b582] master: Cleanup: remove version check for unsupported cmake version

Campbell Barton noreply at git.blender.org
Thu Feb 11 05:57:41 CET 2021


Commit: faad487b5825157cc953c54340647f71d3a06e9b
Author: Campbell Barton
Date:   Thu Feb 11 15:56:53 2021 +1100
Branches: master
https://developer.blender.org/rBfaad487b5825157cc953c54340647f71d3a06e9b

Cleanup: remove version check for unsupported cmake version

===================================================================

M	CMakeLists.txt

===================================================================

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 44385d81ff6..78f49942a13 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -167,10 +167,6 @@ 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()
 set(BUILDINFO_OVERRIDE_DATE "" CACHE STRING "Use instead of the current date for reproducible builds (empty string disables this option)")
 set(BUILDINFO_OVERRIDE_TIME "" CACHE STRING "Use instead of the current time for reproducible builds (empty string disables this option)")
 set(CPACK_OVERRIDE_PACKAGENAME "" CACHE STRING "Use instead of the standard packagename (empty string disables this option)")



More information about the Bf-blender-cvs mailing list