We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cdefa4 commit 0615083Copy full SHA for 0615083
rclcpp_lifecycle/CMakeLists.txt
@@ -31,6 +31,10 @@ macro(targets)
31
"rcl_lifecycle${target_suffix}"
32
"lifecycle_msgs")
33
34
+ # Causes the visibility macros to use dllexport rather than dllimport,
35
+ # which is appropriate when building the dll but not consuming it.
36
+ target_compile_definitions(rclcpp_lifecycle${target_suffix} PRIVATE "RCLCPP_LIFECYCLE_BUILDING_DLL")
37
+
38
install(TARGETS
39
rclcpp_lifecycle${target_suffix}
40
ARCHIVE DESTINATION lib
0 commit comments