Merge pull request #144 from sopvop/patch-1

add TINYXML2_EXPORT define when building shared lib
This commit is contained in:
Lee Thomason 2013-12-12 13:47:11 -08:00
commit 343a5ff3bd
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ if(BUILD_STATIC_LIBS)
endif(BUILD_STATIC_LIBS)
add_library(tinyxml2 SHARED tinyxml2.cpp tinyxml2.h)
set_target_properties(tinyxml2 PROPERTIES
COMPILE_DEFINITIONS "TINYXML2_EXPORT"
VERSION "${GENERIC_LIB_VERSION}"
SOVERSION "${GENERIC_LIB_SOVERSION}")