Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump cmake and fix missing opencv #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.idea
cmake-build-debug/
.vscode
5 changes: 4 additions & 1 deletion davis_ros_driver/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.3)
cmake_minimum_required(VERSION 3.1.3)
project(davis_ros_driver)

find_package(catkin_simple REQUIRED)
Expand All @@ -7,6 +7,7 @@ find_package(libcaer REQUIRED)
catkin_simple()

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -O3")
find_package(OpenCV REQUIRED)

find_package(Boost REQUIRED COMPONENTS system thread)

Expand All @@ -25,13 +26,15 @@ cs_add_library(davis_ros_driver_nodelet
# link the executable to the necesarry libs
target_link_libraries(davis_ros_driver
${catkin_LIBRARIES}
${OpenCV_LIBRARIES}
${Boost_LIBRARIES}
libcaer::caer
)

# link the executable to the necesarry libs
target_link_libraries(davis_ros_driver_nodelet
${catkin_LIBRARIES}
${OpenCV_LIBRARIES}
${Boost_LIBRARIES}
libcaer::caer
)
Expand Down
2 changes: 1 addition & 1 deletion dvs_calibration/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.3)
cmake_minimum_required(VERSION 3.1.3)
project(dvs_calibration)

find_package(catkin_simple REQUIRED)
Expand Down
2 changes: 1 addition & 1 deletion dvs_calibration_gui/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.3)
cmake_minimum_required(VERSION 3.1.3)
project(dvs_calibration_gui)

find_package(catkin REQUIRED COMPONENTS )
Expand Down
2 changes: 1 addition & 1 deletion dvs_file_writer/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.3)
cmake_minimum_required(VERSION 3.1.3)
project(dvs_file_writer)

find_package(catkin_simple REQUIRED)
Expand Down
2 changes: 1 addition & 1 deletion dvs_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.3)
cmake_minimum_required(VERSION 3.1.3)
project(dvs_msgs)

# search for everything we need to build the messages, dont forget the message_generation
Expand Down
2 changes: 1 addition & 1 deletion dvs_renderer/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.3)
cmake_minimum_required(VERSION 3.1.3)
project(dvs_renderer)

find_package(catkin_simple REQUIRED)
Expand Down
6 changes: 5 additions & 1 deletion dvs_ros_driver/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
cmake_minimum_required(VERSION 2.8.3)
cmake_minimum_required(VERSION 3.1.3)
project(dvs_ros_driver)

find_package(catkin_simple REQUIRED)
find_package(OpenCV REQUIRED)

find_package(libcaer REQUIRED)

catkin_simple()
Expand All @@ -26,13 +28,15 @@ cs_add_library(dvs_ros_driver_nodelet
target_link_libraries(dvs_ros_driver
${catkin_LIBRARIES}
${Boost_LIBRARIES}
${OpenCV_LIBRARIES}
libcaer::caer
)

# link the executable to the necesarry libs
target_link_libraries(dvs_ros_driver_nodelet
${catkin_LIBRARIES}
${Boost_LIBRARIES}
${OpenCV_LIBRARIES}
libcaer::caer
)

Expand Down
5 changes: 4 additions & 1 deletion dvxplorer_ros_driver/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.3)
cmake_minimum_required(VERSION 3.1.3)
project(dvxplorer_ros_driver)

find_package(catkin_simple REQUIRED)
Expand All @@ -7,6 +7,7 @@ find_package(libcaer REQUIRED)
catkin_simple()

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -O3")
find_package(OpenCV REQUIRED)

find_package(Boost REQUIRED COMPONENTS system thread)

Expand All @@ -26,13 +27,15 @@ cs_add_library(dvxplorer_ros_driver_nodelet
target_link_libraries(dvxplorer_ros_driver
${catkin_LIBRARIES}
${Boost_LIBRARIES}
${OpenCV_LIBRARIES}
libcaer::caer
)

# link the executable to the necessary libs
target_link_libraries(dvxplorer_ros_driver_nodelet
${catkin_LIBRARIES}
${Boost_LIBRARIES}
${OpenCV_LIBRARIES}
libcaer::caer
)

Expand Down