Revision aa1958c6
server/CMakeLists.txt | ||
---|---|---|
11 | 11 |
find_package(Boost REQUIRED COMPONENTS system thread) |
12 | 12 |
|
13 | 13 |
####################################### |
14 |
# check if we have RSB support:
|
|
15 |
option(WITH_RSB "WITH_RSB" ON)
|
|
14 |
#allow forced disable of RSB
|
|
15 |
option(IGNORE_RSB "IGNORE_RSB" OFF)
|
|
16 | 16 |
|
17 |
IF(WITH_RSB) |
|
17 |
####################################### |
|
18 |
# check if we have RSB support: |
|
19 |
IF (IGNORE_RSB) |
|
20 |
MESSAGE(INFO "RSB disabled per command line flag IGNORE_RSB") |
|
21 |
ELSE (IGNORE_RSB) |
|
18 | 22 |
FIND_PACKAGE(RSB 0.11) |
19 | 23 |
IF (RSB_FOUND) |
20 | 24 |
#RSB |
... | ... | |
43 | 47 |
message(STATUS "RSB Support is ON") |
44 | 48 |
add_definitions(-DRSB_SUPPORT=1) |
45 | 49 |
ENDIF (RSB_FOUND) |
46 |
ENDIF(WITH_RSB)
|
|
50 |
ENDIF(IGNORE_RSB)
|
|
47 | 51 |
|
48 | 52 |
################################################################ |
49 | 53 |
# check for ROS support: |
Also available in: Unified diff