summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2015-08-09 18:51:57 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2015-08-09 18:51:57 +0200
commit3856314a186cc244b12119154e1db6c78e258e7c (patch)
treedb7d8e8be7d161fb981a6e722e91099793e951fc /src
parentf2ac8b6aa69a4765e44f815a031b7aa574d44b57 (diff)
Avoid name clash between Windows .pdb files
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 80ecfc2..67d7b72 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -104,6 +104,9 @@ endif(MSVC)
set_property(TARGET ${LIBRARY}
APPEND PROPERTY MACOSX_RPATH true)
+# Avoid name clash between PROGRAM and LIBRARY pdb files.
+set_target_properties(${LIBRARY} PROPERTIES PDB_NAME cmark_dll)
+
generate_export_header(${LIBRARY}
BASE_NAME ${PROJECT_NAME})