Merge pull request #5859 from lrineau/Installation-fix_compatiblity_with_CMP0064-GF

Set CMP0064 to fix #5857
This commit is contained in:
Laurent Rineau 2021-07-27 15:52:28 +02:00
commit 8b7d489f27
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()