Set CMP0064 to fix #5857

This commit is contained in:
Laurent Rineau 2021-07-20 11:52:18 +02:00
parent 826fa64cd7
commit 5b0e0936d5
1 changed files with 1 additions and 0 deletions

View File

@ -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()