Aufgrund einer Wartung wird GitLab am 04.06. zwischen 8:00 und 10:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 04.06. between 8:00 and 10:00 am.

CMakeLists.txt 496 Bytes
Newer Older
Svetlana's avatar
Svetlana committed
1 2 3 4 5 6
cmake_minimum_required(VERSION 3.5)
project (ROSCamera)
set (CXX_STANDARD_REQUIRED 14)

find_package(roscpp REQUIRED)
find_package(std_msgs REQUIRED)
7
find_package(OpenCV REQUIRED)
Svetlana's avatar
Svetlana committed
8 9 10 11

add_executable(camera src/main.cpp src/torcsclient.cpp)

set_property(TARGET camera PROPERTY CXX_STANDARD 14)
12
target_link_libraries(camera ${roscpp_LIBRARIES} ${std_msgs_LIBRARIES} ${OpenCV_LIBS})
Svetlana's avatar
Svetlana committed
13
target_include_directories(camera PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${roscpp_INCLUDE_DIRS} ${std_msgs_INCLUDE_DIRS})