mirror of https://github.com/CGAL/cgal
Merge pull request #5859 from lrineau/Installation-fix_compatiblity_with_CMP0064-GF
Set CMP0064 to fix #5857
This commit is contained in:
commit
8b7d489f27
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue