We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7e1c80 commit 6b51ec0Copy full SHA for 6b51ec0
1 file changed
PCLConfig.cmake.in
@@ -23,6 +23,28 @@ set_and_check(PCL_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
23
24
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/Modules")
25
26
+### ---[ some useful macros
27
+macro(pcl_report_not_found _reason)
28
+ unset(PCL_FOUND)
29
+ unset(PCL_LIBRARIES)
30
+ unset(PCL_COMPONENTS)
31
+ unset(PCL_INCLUDE_DIRS)
32
+ unset(PCL_LIBRARY_DIRS)
33
+ unset(PCL_DEFINITIONS)
34
+ if(PCL_FIND_REQUIRED)
35
+ message(FATAL_ERROR ${_reason})
36
+ elseif(NOT PCL_FIND_QUIETLY)
37
+ message(WARNING ${_reason})
38
+ endif()
39
+ return()
40
+endmacro()
41
+
42
+macro(pcl_message)
43
+ if(NOT PCL_FIND_QUIETLY)
44
+ message(${ARGN})
45
46
47
48
### ---[ 3rd party libraries
49
macro(find_boost)
50
if(PCL_ALL_IN_ONE_INSTALLER)
0 commit comments