Changeset - e64b3d710820
[Not reviewed]
0 1 0
Vitaly Takmazov - 9 years ago 2016-04-27 13:18:02
vitalyster@gmail.com
using gcc-specific flags only with GCC
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
spectrum/src/CMakeLists.txt
Show inline comments
 
@@ -21,13 +21,13 @@ ADD_DEPENDENCIES(spectrum2 spectrum2_libpurple_backend)
 
if (WIN32)
 
target_link_libraries(spectrum2 transport sqlite3 spectrum2-xmpp-frontend spectrum2-slack-frontend ${SWIFTEN_LIBRARY} ${LOG4CXX_LIBRARIES} ${PROTOBUF_LIBRARY})
 
else ()
 
target_link_libraries(spectrum2 transport spectrum2-xmpp-frontend spectrum2-slack-frontend ${SWIFTEN_LIBRARY} ${LOG4CXX_LIBRARIES} ${PROTOBUF_LIBRARY})
 
endif()
 

	
 
if (NOT MSVC)
 
if (CMAKE_COMPILER_IS_GNUCXX)
 
# export all symbols (used for loading frontends)
 
set(CMAKE_EXE_LINKER_FLAGS "-Wl,-export-dynamic")
 
endif()
 

	
 
INSTALL(TARGETS spectrum2 RUNTIME DESTINATION bin)
 

	
0 comments (0 inline, 0 general)