Revision 2be6243f CMakeLists.txt

View differences:

CMakeLists.txt
8 8

  
9 9

  
10 10
#######################################
11
# check if we have RSB support:
12

  
13
option(WITH_RSB "WITH_RSB" ON)
11
#allow forced disable of RSB
12
option(IGNORE_RSB "IGNORE_RSB" OFF)
14 13

  
15
IF(WITH_RSB)
14
#######################################
15
# check if we have RSB support:
16
IF (not IGNORE_RSB)
16 17
FIND_PACKAGE(RSB 0.11)
17 18
IF (RSB_FOUND)
18 19
    #RSB
......
41 42
    message(STATUS "RSB Support is ON")
42 43
    add_definitions(-DRSB_SUPPORT=1)
43 44
ENDIF (RSB_FOUND)
44
ENDIF(WITH_RSB)
45
ENDIF(IGNORE_RSB)
46

  
45 47
################################################################
46 48
# check for ROS support:
47 49
find_package(catkin REQUIRED COMPONENTS roscpp std_msgs sensor_msgs message_generation genmsg)

Also available in: Unified diff