]> jfr.im git - irc/znc/znc.git/commitdiff
Bump cmake requirements in subprojects too
authorAlexey Sokolov <redacted>
Sat, 30 Sep 2023 13:43:15 +0000 (14:43 +0100)
committerAlexey Sokolov <redacted>
Sat, 30 Sep 2023 13:43:15 +0000 (14:43 +0100)
cmake/cxx11check/CMakeLists.txt
cmake/perl_check/CMakeLists.txt
src/CMakeLists.txt
test/integration/CMakeLists.txt
znc-buildmod.cmake.in

index eef4b966ef93d2ef7a5dc5751bb1c661dd72cf60..c9da4946399b6d5d1b5976501dbba9daef78eaca 100644 (file)
@@ -14,7 +14,7 @@
 # limitations under the License.
 #
 
-cmake_minimum_required(VERSION 3.0)
+cmake_minimum_required(VERSION 3.13)
 project(cxx11check LANGUAGES CXX)
 set(CMAKE_VERBOSE_MAKEFILE true)
 
index c8f0225823b518638cd8154ece473f532b81eedb..7ecf750431cfca84ac133e0646e3ff4c25d06f0f 100644 (file)
@@ -14,7 +14,7 @@
 # limitations under the License.
 #
 
-cmake_minimum_required(VERSION 3.0)
+cmake_minimum_required(VERSION 3.13)
 project(perl_check LANGUAGES CXX)
 set(CMAKE_VERBOSE_MAKEFILE true)
 
index cf9190882d877cb66040f518bab1e50a1712837f..d9ef245c1b18ac53c64b947d3ad705693b0036b8 100644 (file)
 # limitations under the License.
 #
 
-if(CMAKE_VERSION VERSION_LESS 3.2)
-       # Since 3.2 it does this automatically from BYPRODUCTS
-       set_source_files_properties("versionc.cpp" PROPERTIES GENERATED true)
-endif()
-
 set(znc_cpp "ZNCString.cpp" "znc.cpp" "IRCNetwork.cpp" "Translation.cpp"
        "IRCSock.cpp" "Client.cpp" "Chan.cpp" "Nick.cpp" "Server.cpp"
        "Modules.cpp" "MD5.cpp" "Buffer.cpp" "Utils.cpp" "FileUtils.cpp"
index 211998ea423089c5e286c86e755af1133e2be817..5b16001f4ad37e3eef85eb41ca739b2cdf8a1b2a 100644 (file)
@@ -14,7 +14,7 @@
 # limitations under the License.
 #
 
-cmake_minimum_required(VERSION 3.0)
+cmake_minimum_required(VERSION 3.13)
 project(ZNCIntegrationTest LANGUAGES CXX)
 
 set(CMAKE_CXX_STANDARD 11)
index 9645d060214c9fa02af66c1865c43f94fdfc41b4..aae49edef20b2838745370c8410c9ff4c970f20d 100755 (executable)
@@ -56,7 +56,7 @@ args = parser.parse_args()
 
 with tempfile.TemporaryDirectory() as cmdir:
     with open(os.path.join(cmdir, 'CMakeLists.txt'), 'w') as cm:
-        print('cmake_minimum_required(VERSION 3.1)', file=cm)
+        print('cmake_minimum_required(VERSION 3.13)', file=cm)
         print('project(ExternalModules LANGUAGES CXX)', file=cm)
         print('find_package(ZNC @ZNC_VERSION_MAJOR@.@ZNC_VERSION_MINOR@ HINTS '
             '@CMAKE_INSTALL_FULL_DATADIR@/znc REQUIRED)', file=cm)