summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index ebb1946..f2c9b3a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -65,6 +65,12 @@ set_target_properties(winman
LINK_FLAGS "-Wl,--version-script=../../export.map")
+if (LINK_LIBCXX)
+ set_target_properties(winman
+ PROPERTIES
+ LINK_FLAGS "-Wl,--version-script=../../export.map -lc++")
+endif()
+
if (NOT ${SANITIZER_MODE} STREQUAL "none" AND NOT ${SANITIZER_MODE} STREQUAL "")
target_compile_options(winman
PRIVATE