Revision c5a47e56 client/cpp/CMakeLists.txt

View differences:

client/cpp/CMakeLists.txt
24 24
SET(DATADIR    "${PREFIX}/share/hlrc_client")
25 25

  
26 26
#######################################
27
# check if we have RSB support:
28
option(WITH_RSB "WITH_RSB" ON)
27
#######################################
28
#allow forced disable of RSB
29
option(IGNORE_RSB "IGNORE_RSB" OFF)
29 30

  
30
IF(WITH_RSB)
31
#######################################
32
# check if we have RSB support:
33
IF (IGNORE_RSB)
34
    MESSAGE(INFO "RSB disabled per command line flag IGNORE_RSB")
35
ELSE (IGNORE_RSB)
31 36
FIND_PACKAGE(RSB 0.11)
32 37
IF (RSB_FOUND)
33 38
    #RSB
......
56 61
    message(STATUS "RSB Support is ON")
57 62
    add_definitions(-DRSB_SUPPORT=1)
58 63
ENDIF (RSB_FOUND)
59
ENDIF(WITH_RSB)
64
ENDIF(IGNORE_RSB)
65

  
60 66
################################################################
61 67
# check for ROS support:
62 68
find_package(catkin)

Also available in: Unified diff