Skip to content

Commit

Permalink
Solve compilation problem
Browse files Browse the repository at this point in the history
  • Loading branch information
lebronzhang committed Jul 10, 2016
1 parent 33762d5 commit 9128e24
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions io/CMakeLists.txt
Expand Up @@ -159,7 +159,7 @@ if(build)
src/real_sense/sdk/real_sense_grabber.cpp
src/real_sense/sdk/real_sense_device_manager.cpp
)
else(WITH_LIBREALSENSE)
elseif(WITH_LIBREALSENSE)
set(REALSENSE_GRABBER_INCLUDES
include/pcl/io/real_sense_grabber.h
)
Expand Down Expand Up @@ -367,7 +367,7 @@ if(build)

if(WITH_RSSDK)
target_link_libraries(${LIB_NAME} ${RSSDK_LIBRARIES})
else(WITH_LIBREALSENSE)
elseif(WITH_LIBREALSENSE)
target_link_libraries(${LIB_NAME} ${LIBREALSENSE_LIBRARIES})
endif()

Expand Down
2 changes: 1 addition & 1 deletion io/src/real_sense_grabber.cpp
Expand Up @@ -81,7 +81,7 @@ bool
pcl::RealSenseGrabber::Mode::operator== (const pcl::RealSenseGrabber::Mode& m) const
{
return (this->fps == m.fps &&
this->depth_width == m.depth_width &&
this->depth_width == m.depth_width &&
this->depth_height == m.depth_height &&
this->color_width == m.color_width &&
this->color_height == m.color_height);
Expand Down
2 changes: 1 addition & 1 deletion visualization/tools/CMakeLists.txt
Expand Up @@ -60,7 +60,7 @@ endif()
if(WITH_RSSDK)
PCL_ADD_EXECUTABLE_OPT_BUNDLE(pcl_real_sense_viewer ${SUBSYS_NAME} real_sense_viewer.cpp)
target_link_libraries(pcl_real_sense_viewer pcl_common pcl_io pcl_visualization)
else(WITH_LIBREALSENSE)
elseif(WITH_LIBREALSENSE)
PCL_ADD_EXECUTABLE_OPT_BUNDLE(pcl_real_sense_viewer ${SUBSYS_NAME} real_sense_viewer.cpp)
target_link_libraries(pcl_real_sense_viewer pcl_common pcl_io pcl_visualization)
endif()

0 comments on commit 9128e24

Please sign in to comment.