From 2398e98f66f2e494e69c363b43afdf09b1c48128 Mon Sep 17 00:00:00 2001 From: William Woodall Date: Wed, 16 Dec 2015 12:37:17 -0800 Subject: [PATCH] fix building dll definition --- rcl/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rcl/CMakeLists.txt b/rcl/CMakeLists.txt index 3baf6cb..f79fe59 100644 --- a/rcl/CMakeLists.txt +++ b/rcl/CMakeLists.txt @@ -39,7 +39,7 @@ macro(target) # Causes the visibility macros to use dllexport rather than dllimport, # which is appropriate when building the dll but not consuming it. - target_compile_definitions(${PROJECT_NAME}${target_suffix} PRIVATE "RCL_BUILDING_LIBRARY") + target_compile_definitions(${PROJECT_NAME}${target_suffix} PRIVATE "RCL_BUILDING_DLL") install( TARGETS ${PROJECT_NAME}${target_suffix}