From faad487b5825157cc953c54340647f71d3a06e9b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 11 Feb 2021 15:56:53 +1100 Subject: Cleanup: remove version check for unsupported cmake version --- CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) (limited to '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)") -- cgit v1.2.3