diff --git a/CMakeLists.txt b/CMakeLists.txt index c6147e3..064ce14 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,13 @@ CMAKE_MINIMUM_REQUIRED (VERSION 3.8) +IF(POLICY CMP0135) + CMAKE_POLICY(SET CMP0135 NEW) +ENDIF() + +IF(POLICY CMP0077) + CMAKE_POLICY(SET CMP0077 NEW) +ENDIF() + OPTION(LIBNETWRK_TEST "Build tests." ON) OPTION(LIBNETWRK_EXAMPLES "Build examples." ON)