diff --git a/CMakeLists.txt b/CMakeLists.txt index 318b8c87..60848393 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,10 +15,12 @@ # along with this program. If not, see . cmake_minimum_required (VERSION 3.9) +if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.16.2) # Use standard target names cmake_policy(SET CMP0078 NEW) # Allows SWIG_MODULE_NAME to be set cmake_policy(SET CMP0086 NEW) +endif() project(STA VERSION 2.0.18)