diff options
Diffstat (limited to 'plugins/session/CMakeLists.txt')
-rw-r--r-- | plugins/session/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/session/CMakeLists.txt b/plugins/session/CMakeLists.txt index ab0596e6..e13a16b3 100644 --- a/plugins/session/CMakeLists.txt +++ b/plugins/session/CMakeLists.txt @@ -1,6 +1,9 @@ ADD_LIBRARY(token-api MODULE token-api.c) -SET_TARGET_PROPERTIES(token-api PROPERTIES PREFIX "") +SET_TARGET_PROPERTIES(token-api PROPERTIES + PREFIX "" + LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/export.map" +) TARGET_LINK_LIBRARIES(token-api ${link_libraries}) INCLUDE_DIRECTORIES(${include_dirs}) INSTALL(TARGETS token-api |