diff --git a/CMakeLists.txt b/CMakeLists.txt index 9478576..398f89e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,7 @@ project(raspicam_node) set(CMAKE_CXX_STANDARD 14) # use C++14 +set(CMAKE_EXE_LINKER_FLAGS "-Wl,--no-as-needed") # https://github.com/raspberrypi/userland/issues/178 ## Find catkin macros and libraries ## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)