Skip to content

Commit

Permalink
Downgrade RSSDK2 warning message to status (PointCloudLibrary#3683)
Browse files Browse the repository at this point in the history
* Downgrade package not found warning to status

* Update status message
  • Loading branch information
shrijitsingh99 authored and FSund committed Mar 16, 2020
1 parent 14b3544 commit 877cb48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/Modules/FindRSSDK2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@
# RSSDK2_INCLUDE_DIRS The location(s) of RealSense SDK 2.0 headers
# RSSDK2_LIBRARIES Libraries needed to use RealSense SDK 2.0

find_package(realsense2)
find_package(realsense2 QUIET)

set(RSSDK2_FOUND ${realsense2_FOUND})
set(RSSDK2_INCLUDE_DIRS ${realsense2_INCLUDE_DIR})
set(RSSDK2_LIBRARIES ${realsense2_LIBRARY})

if(RSSDK2_FOUND)
message(STATUS "RealSense SDK 2 found (include: ${RSSDK2_INCLUDE_DIRS}, lib: ${RSSDK2_LIBRARIES}, version: ${realsense2_VERSION})")
else ()
message(STATUS "Could NOT find RSSDK2")
endif()

0 comments on commit 877cb48

Please sign in to comment.