Changeset - 0cf6ce5de219
[Not reviewed]
0 1 0
Frank Zschockelt - 9 years ago 2016-02-01 22:33:22
gith12@freakysoft.de
Add all symbols to the dynamic linker symbol table

spectrum2 uses them to check for its compiled-in frontends.
1 file changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
spectrum/src/CMakeLists.txt
Show inline comments
 
@@ -25,6 +25,11 @@ else ()
 
target_link_libraries(spectrum2 transport spectrum2-xmpp-frontend spectrum2-slack-frontend ${SWIFTEN_LIBRARY} ${LOG4CXX_LIBRARIES} ${PROTOBUF_LIBRARY})
 
endif()
 

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

	
 
INSTALL(TARGETS spectrum2 RUNTIME DESTINATION bin)
 

	
 
INSTALL(FILES
0 comments (0 inline, 0 general)