fix building dll definition

This commit is contained in:
William Woodall 2015-12-16 12:37:17 -08:00
parent 68facdb935
commit 2398e98f66

View file

@ -39,7 +39,7 @@ macro(target)
# Causes the visibility macros to use dllexport rather than dllimport, # Causes the visibility macros to use dllexport rather than dllimport,
# which is appropriate when building the dll but not consuming it. # 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( install(
TARGETS ${PROJECT_NAME}${target_suffix} TARGETS ${PROJECT_NAME}${target_suffix}