File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed
Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change 1- # Copyright 2019 Alexander Grund
1+ # Copyright 2019-2025 Alexander Grund
22# Distributed under the Boost Software License, Version 1.0.
33# See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
44
5- cmake_minimum_required (VERSION 3.8 )
5+ cmake_minimum_required (VERSION 3.16..3.20 )
66project (turtle VERSION 2.0.0 LANGUAGES CXX )
77
88if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
@@ -67,14 +67,7 @@ if(TURTLE_INSTALL)
6767 INSTALL_DESTINATION ${configInstallDestination}
6868 )
6969
70- if (NOT CMAKE_VERSION VERSION_LESS 3.14)
71- write_basic_package_version_file (${versionFile} COMPATIBILITY SameMajorVersion ARCH_INDEPENDENT )
72- else ()
73- set (OLD_CMAKE_SIZEOF_VOID_P ${CMAKE_SIZEOF_VOID_P} )
74- set (CMAKE_SIZEOF_VOID_P "" )
75- write_basic_package_version_file (${versionFile} COMPATIBILITY SameMajorVersion )
76- set (CMAKE_SIZEOF_VOID_P ${OLD_CMAKE_SIZEOF_VOID_P} )
77- endif ()
70+ write_basic_package_version_file (${versionFile} COMPATIBILITY SameMajorVersion ARCH_INDEPENDENT )
7871
7972 install (FILES ${configFile} ${versionFile} DESTINATION ${configInstallDestination} )
8073
You can’t perform that action at this time.
0 commit comments