Skip to content
Snippets Groups Projects
Commit 627235af authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

strange linking bug fixed

parent 95a61552
No related branches found
No related tags found
1 merge request!3After cmake and const refactor
Pipeline #10729 canceled
......@@ -2,7 +2,9 @@ cmake_minimum_required(VERSION 2.8.3)
project(wolf_ros_vision)
## Compile as C++14
add_compile_options(-std=c++14)
add_compile_options(-std=c++14)
# -fPIC and -rdynamic ensure unique singleton instance across shared libraries (for factories) see: https://stackoverflow.com/a/8626922
SET(CMAKE_CXX_FLAGS "-fPIC -rdynamic")
# SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/wolf_ros_wrapper/cmake_modules")
## Find catkin macros and libraries
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment