Revision b3694223 client/cpp/CMakeLists.txt
client/cpp/CMakeLists.txt | ||
---|---|---|
35 | 35 |
IF (IGNORE_RSB) |
36 | 36 |
MESSAGE(INFO "RSB disabled per command line flag IGNORE_RSB") |
37 | 37 |
ELSE (IGNORE_RSB) |
38 |
FIND_PACKAGE(RSB 0.11) |
|
38 |
FIND_PACKAGE(RSB 0.11 QUIET)
|
|
39 | 39 |
IF (RSB_FOUND) |
40 | 40 |
#RSB |
41 | 41 |
SET(CMAKE_INSTALL_RPATH "\$ORIGIN/../lib:\$ORIGIN/") |
... | ... | |
62 | 62 |
|
63 | 63 |
message(STATUS "RSB Support is ON") |
64 | 64 |
add_definitions(-DRSB_SUPPORT=1) |
65 |
ENDIF (RSB_FOUND) |
|
65 |
ELSE(RSB_FOUND) |
|
66 |
message(STATUS "RSB not found.") |
|
67 |
ENDIF(RSB_FOUND) |
|
66 | 68 |
ENDIF(IGNORE_RSB) |
67 | 69 |
|
68 | 70 |
################################################################ |
69 | 71 |
# check for ROS support: |
70 |
find_package(catkin) |
|
71 |
IF (catkin_FOUND)
|
|
72 |
find_package(catkin QUIET)
|
|
73 |
IF(catkin_FOUND) |
|
72 | 74 |
SET(ROS_FOUND 1) |
73 | 75 |
|
74 | 76 |
catkin_package( |
... | ... | |
81 | 83 |
message(STATUS "ROS Support is ON") |
82 | 84 |
add_definitions(-DROS_SUPPORT=1) |
83 | 85 |
include_directories(${catkin_INCLUDE_DIRS}) |
84 |
ENDIF (catkin_FOUND) |
|
86 |
ELSE(catkin_FOUND) |
|
87 |
message(STATUS "ROS not found.") |
|
88 |
ENDIF(catkin_FOUND) |
|
85 | 89 |
|
86 | 90 |
add_definitions ("-Wall") |
87 | 91 |
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -fstack-protector-all ") |
... | ... | |
91 | 95 |
find_package( Boost 1.46 REQUIRED COMPONENTS thread program_options system filesystem regex) |
92 | 96 |
LINK_DIRECTORIES( ${Boost_LIBRARY_DIRS} ) |
93 | 97 |
include_directories(${Boost_INCLUDE_DIRS} ) |
94 |
message("-- using ${Boost_LIBRARIES}")
|
|
98 |
message(STATUS "using ${Boost_LIBRARIES}")
|
|
95 | 99 |
|
96 | 100 |
INCLUDE_DIRECTORIES(${CMAKE_INSTALL_PREFIX}/include) |
97 | 101 |
|
... | ... | |
172 | 176 |
#install(TARGETS ${PROJECT_NAME}_calibrate_camera DESTINATION bin) |
173 | 177 |
ADD_EXECUTABLE(${PROJECT_NAME}_example_speech_test examples/speech_test/main.cpp) |
174 | 178 |
TARGET_LINK_LIBRARIES(${PROJECT_NAME}_example_speech_test ${HLRC_CLIENT_LIBNAME}) |
175 |
|
|
176 |
|
Also available in: Unified diff