From 5b0e0936d5a16681f4191df2352de16eb2ca7816 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Tue, 20 Jul 2021 11:52:18 +0200 Subject: [PATCH] Set CMP0064 to fix #5857 --- Installation/cmake/modules/CGAL_add_test.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Installation/cmake/modules/CGAL_add_test.cmake b/Installation/cmake/modules/CGAL_add_test.cmake index 7090304dc26..0864203ae20 100644 --- a/Installation/cmake/modules/CGAL_add_test.cmake +++ b/Installation/cmake/modules/CGAL_add_test.cmake @@ -74,6 +74,7 @@ function(expand_list_with_globbing list_name) endfunction() function(cgal_add_compilation_test exe_name) + cmake_policy(SET CMP0064 NEW) if(NOT CMAKE_VS_MSBUILD_COMMAND) if(TEST compilation_of__${exe_name}) return()