Commit abb86735 by Maarten L. Hekkelman

Better support for older cmake versions

parent ffc8f9dc
...@@ -65,7 +65,7 @@ if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.22) ...@@ -65,7 +65,7 @@ if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.22)
cmake_policy(SET CMP0127 NEW) cmake_policy(SET CMP0127 NEW)
cmake_dependent_option(BUILD_SHARED_LIBS "Build a shared library instead of a static one" OFF "NOT (BUILD_FOR_CCP4 AND WIN32)" ON) cmake_dependent_option(BUILD_SHARED_LIBS "Build a shared library instead of a static one" OFF "NOT (BUILD_FOR_CCP4 AND WIN32)" ON)
else() else()
cmake_dependent_option(BUILD_SHARED_LIBS "Build a shared library instead of a static one" OFF) option(BUILD_SHARED_LIBS "Build a shared library instead of a static one" OFF)
endif() endif()
# Lots of code depend on the availability of the components.cif file # Lots of code depend on the availability of the components.cif file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment