early-access version 2853
This commit is contained in:
15
externals/vcpkg/ports/cgal/fix-incorrect-warning.patch
vendored
Executable file
15
externals/vcpkg/ports/cgal/fix-incorrect-warning.patch
vendored
Executable file
@@ -0,0 +1,15 @@
|
||||
diff --git a/Installation/lib/cmake/CGAL/CGALConfig.cmake b/Installation/lib/cmake/CGAL/CGALConfig.cmake
|
||||
index 4f3a16b..6edefb1 100644
|
||||
--- a/Installation/lib/cmake/CGAL/CGALConfig.cmake
|
||||
+++ b/Installation/lib/cmake/CGAL/CGALConfig.cmake
|
||||
@@ -89,7 +89,9 @@ if (NOT CGAL_DATA_DIR)
|
||||
if (EXISTS "${CMAKE_SOURCE_DIR}/../../data")
|
||||
set(CGAL_DATA_DIR "${CMAKE_SOURCE_DIR}/../../data")
|
||||
else()
|
||||
- message(WARNING "CGAL_DATA_DIR cannot be deduced, set the variable CGAL_DATA_DIR to set the default value of CGAL::data_file_path()")
|
||||
+ if(CGAL_TEST_SUITE)
|
||||
+ message(WARNING "CGAL_DATA_DIR cannot be deduced, set the variable CGAL_DATA_DIR to set the default value of CGAL::data_file_path()")
|
||||
+ endif()
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
Reference in New Issue
Block a user