mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-17 01:38:18 +08:00
6506e80eb2
* [cgal] Install data folder * version * Add double quotes * version * version * Add comment to patch * version
16 lines
820 B
Diff
16 lines
820 B
Diff
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()
|