From 09958faa1a70cbc537588a91bb9e61ba0c9a2c22 Mon Sep 17 00:00:00 2001 From: Paul-Louis Ageneau Date: Sun, 21 Mar 2021 21:30:46 +0100 Subject: [PATCH] Set CMake policiy CMP0077 to NEW --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4ef3b18..a2ac464 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -191,6 +191,7 @@ add_subdirectory(deps/plog) option(sctp_build_programs 0) option(sctp_build_shared_lib 0) +set(CMAKE_POLICY_DEFAULT_CMP0077 NEW) add_subdirectory(deps/usrsctp EXCLUDE_FROM_ALL) if (MSYS OR MINGW) target_compile_definitions(usrsctp PUBLIC -DSCTP_STDINT_INCLUDE=)