diff options
author | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-08-02 15:59:38 +0200 |
---|---|---|
committer | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-08-08 17:24:00 +0200 |
commit | 9b094f7e17736529e8fd1d25515112f9a1a2daac (patch) | |
tree | 1ba997c709a183ec3c901ca2ed5f8f473356056c /src | |
parent | a20f7d63dc29b7dcd904e925defb0d0f16fe50ad (diff) |
cmake: reference export.map using CMAKE_CURRENT_SOURCE_DIR
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d335631..bbdb242 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -71,12 +71,12 @@ set_target_properties(winman C_STANDARD 99 C_STANDARD_REQUIRED ON - LINK_FLAGS "-Wl,--version-script=../../export.map") + LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/../export.map") if (LINK_LIBCXX) set_target_properties(winman PROPERTIES - LINK_FLAGS "-Wl,--version-script=../../export.map -lc++") + LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/../export.map -lc++") endif() if (NOT ${SANITIZER_MODE} STREQUAL "none" AND NOT ${SANITIZER_MODE} STREQUAL "") |