1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
Author: Andreas Tille <tille@debian.org>
Last-Update: 2025-11-17
Bug-Debian: https://bugs.debian.org/1113298
Description: Enable building with CMake4
Forwarded: No, since project is archived
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,5 @@
project(msgpuck)
-cmake_minimum_required(VERSION 2.8.5)
+cmake_minimum_required(VERSION 3.5)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -fPIC -fstrict-aliasing")
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall -Wextra -Werror")
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -1,7 +1,3 @@
-if(POLICY CMP0037)
- cmake_policy(SET CMP0037 OLD) # don't blame custom target names
-endif(POLICY CMP0037)
-
include_directories("../")
#find_program(PROVE prove)
|