From 07d6763e69ac40838755e4313a1b416f20af1021 Mon Sep 17 00:00:00 2001 From: matlabbe Date: Fri, 21 Apr 2017 21:58:38 -0400 Subject: [PATCH] Fixed build without realsense --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1a096bb8..ee745780 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -438,11 +438,11 @@ ENDIF() IF(NOT RealSense_FOUND) SET(REALSENSE "//") ELSE() - IF(NOT RealSenseSlam_FOUND) - SET(REALSENSESLAM "//") - ENDIF(NOT RealSenseSlam_FOUND) SET(CONF_DEPENDENCIES ${CONF_DEPENDENCIES} ${RealSense_LIBRARIES}) ENDIF() +IF(NOT RealSenseSlam_FOUND) + SET(REALSENSESLAM "//") +ENDIF(NOT RealSenseSlam_FOUND) IF(NOT OCTOMAP_FOUND) SET(OCTOMAP "//") ELSE()