diff --git a/CMakeLists.txt b/CMakeLists.txt index 52bcfe14780e79ebbf2c7b56c561b12927e32fc3..977d57becb4d7c4382e60f3f3dd0be3a3059cfb6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -85,6 +85,9 @@ # written. CMAKE_MINIMUM_REQUIRED(VERSION 2.6.3 FATAL_ERROR) +IF(POLICY CMP0025) + CMAKE_POLICY(SET CMP0025 NEW) +ENDIF() #----------------------------------------------------------------------------- # If a namespace is not specified, use "kwsys" and enable testing.