Skip to content

Commit a5e7a0a

Browse files
authored
Bump cmake minimum version to 3.13
Having the minimum cmake version lower than 3.13 will leave policies CMP0079 and CMP0077 unset. This will have conflicts with other projects that use cppzmq with add_subdirectory and that have a dependency on Catch2 as well to fail to compile. Bumping the cmake_minimum_version to 3.13 prevents that.
1 parent 8bace31 commit a5e7a0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.11)
1+
cmake_minimum_required(VERSION 3.13)
22

33
list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
44
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

0 commit comments

Comments
 (0)