From 90f5d22e8371b3cd90202114f4afded70b6bc865 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20G=C3=B6rner?= Date: Sun, 29 Mar 2020 20:47:26 +0200 Subject: [PATCH] do not export inline functions (#147) This makes sure that code using `pimpl()` will not compile out of the box unless the _p header is included. --- core/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index f2754601..fb163fe6 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -43,6 +43,8 @@ if(NOT MOVEIT_MASTER) endif() add_definitions(-DMOVEIT_MASTER=${MOVEIT_MASTER}) +add_compile_options(-fvisibility-inlines-hidden) + set(PROJECT_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/include/moveit/task_constructor) add_subdirectory(src)