diff --git a/CMakeLists.txt b/CMakeLists.txt index dca0f459..8033c5ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,10 +20,7 @@ # ############################################################################## cmake_minimum_required(VERSION 3.20 FATAL_ERROR) -cmake_policy(VERSION 3.20) -if(POLICY CMP0144) - cmake_policy(SET CMP0144 NEW) -endif() +cmake_policy(VERSION ${CMAKE_VERSION}) # ############ # Define Project