15 lines
820 B
Diff
Executable file
15 lines
820 B
Diff
Executable file
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()
|