mirror of https://github.com/CGAL/cgal
Set CMP0064 to fix #5857
This commit is contained in:
parent
826fa64cd7
commit
5b0e0936d5
|
|
@ -74,6 +74,7 @@ function(expand_list_with_globbing list_name)
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
function(cgal_add_compilation_test exe_name)
|
function(cgal_add_compilation_test exe_name)
|
||||||
|
cmake_policy(SET CMP0064 NEW)
|
||||||
if(NOT CMAKE_VS_MSBUILD_COMMAND)
|
if(NOT CMAKE_VS_MSBUILD_COMMAND)
|
||||||
if(TEST compilation_of__${exe_name})
|
if(TEST compilation_of__${exe_name})
|
||||||
return()
|
return()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue