Skip to content

Commit

Permalink
Suppress log when PCL_FIND_QUIETLY is turned on.
Browse files Browse the repository at this point in the history
  • Loading branch information
zha149 committed Oct 18, 2017
1 parent b6edf43 commit 52d14ee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions PCLConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,10 @@ endmacro(find_qhull)

#remove this as soon as libopenni is shipped with FindOpenni.cmake
macro(find_openni)
if(PCL_FIND_QUIETLY)
set(openni_FIND_QUIETLY TRUE)
endif()

if(NOT OPENNI_ROOT AND ("@HAVE_OPENNI@" STREQUAL "TRUE"))
set(OPENNI_INCLUDE_DIRS_HINT "@OPENNI_INCLUDE_DIRS@")
get_filename_component(OPENNI_LIBRARY_HINT "@OPENNI_LIBRARY@" PATH)
Expand Down

0 comments on commit 52d14ee

Please sign in to comment.