Skip to content

Commit d86b9d7

Browse files
Remove custom logic to skip configuration of gripper_controllers on Windows or macOS (#1471)
Co-authored-by: Sai Kishor Kothakota <[email protected]>
1 parent ad7739f commit d86b9d7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

gripper_controllers/CMakeLists.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
cmake_minimum_required(VERSION 3.16)
22
project(gripper_controllers)
33

4-
if(APPLE OR WIN32)
5-
message(WARNING "gripper controllers are not available on OSX or Windows")
6-
return()
7-
endif()
4+
# using this instead of visibility macros
5+
# S1 from https://github.com/ros-controls/ros2_controllers/issues/1053
6+
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
87

98
if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
109
add_compile_options(-Wall -Wextra -Wpedantic -Werror=conversion -Werror=unused-but-set-variable

0 commit comments

Comments
 (0)