use DEFINE_SYMBOL for growl too

This commit is contained in:
Patrick von Reth 2010-12-30 01:26:36 +01:00
parent 8479d54742
commit 41ebd8566e
1 changed files with 3 additions and 8 deletions

View File

@ -3,22 +3,17 @@ if(WITH_GROWL_BACKEND)
if( WIN32 )
link_libraries ( ws2_32 )
endif( WIN32 )
add_definitions("-DGROWL_CPP_STATIC -DGROWL_STATIC")
set( GROWL_SEND_SRC
gntp-send/source/growl.c
gntp-send/source/tcp.c
gntp-send/source/md5.c )
add_library( growl STATIC ${GROWL_SEND_SRC} )
add_library( growl STATIC ${GROWL_SEND_SRC} )
set_target_properties( growl PROPERTIES DEFINE_SYMBOL "GROWL_STATIC" )
add_library( growl_cpp STATIC gntp-send/source/growl++.cpp)
set_target_properties( growl_cpp PROPERTIES DEFINE_SYMBOL "DGROWL_CPP_STATIC" )
target_link_libraries ( growl_cpp growl)
endif(WITH_GROWL_BACKEND)