From 0a2f32298711cf9d3da850bcb627f2566b052127 Mon Sep 17 00:00:00 2001 From: Sachin Suresh Bhat Date: Tue, 26 Feb 2019 13:38:31 -0800 Subject: [PATCH] Remove WIN specific compiler definition in configure_rcl --- rcl/cmake/configure_rcl.cmake | 7 ------- 1 file changed, 7 deletions(-) diff --git a/rcl/cmake/configure_rcl.cmake b/rcl/cmake/configure_rcl.cmake index bf0cc1c406..5bcb0983ce 100644 --- a/rcl/cmake/configure_rcl.cmake +++ b/rcl/cmake/configure_rcl.cmake @@ -63,11 +63,4 @@ macro(configure_rcl library_target) else() message(FATAL_ERROR "configure_rcl() called with unsupported LANGUAGE: '${_ARG_LANGUAGE}'") endif() - - if(WIN32) - # Causes the visibility macros to use dllexport rather than dllimport - # which is appropriate when building the dll but not consuming it. - target_compile_definitions(${library_target} - PRIVATE "RCL_BUILDING_DLL") - endif() endmacro()