Add all symbols to the dynamic linker symbol table
spectrum2 uses them to check for its compiled-in frontends.
This commit is contained in:
parent
c4eda8c23b
commit
0cf6ce5de2
1 changed files with 5 additions and 0 deletions
|
@ -25,6 +25,11 @@ else ()
|
||||||
target_link_libraries(spectrum2 transport spectrum2-xmpp-frontend spectrum2-slack-frontend ${SWIFTEN_LIBRARY} ${LOG4CXX_LIBRARIES} ${PROTOBUF_LIBRARY})
|
target_link_libraries(spectrum2 transport spectrum2-xmpp-frontend spectrum2-slack-frontend ${SWIFTEN_LIBRARY} ${LOG4CXX_LIBRARIES} ${PROTOBUF_LIBRARY})
|
||||||
endif()
|
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(TARGETS spectrum2 RUNTIME DESTINATION bin)
|
||||||
|
|
||||||
INSTALL(FILES
|
INSTALL(FILES
|
||||||
|
|
Loading…
Add table
Reference in a new issue