diff --git a/CMakeLists.txt b/CMakeLists.txt index f45220f..edac340 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,10 @@ if(POLICY CMP0058) cmake_policy(SET CMP0058 NEW) endif() +if(POLICY CMP0068) + cmake_policy(SET CMP0068 NEW) +endif() + if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) message(STATUS "Setting build type to 'Release' as none was specified.") set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE)