summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-08-09 11:20:30 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-08-09 11:20:30 -0700
commit397829cbb945a1e3496552555e022ad4d5195851 (patch)
tree95b933922dd6f0f60b5c668dae93637db573eadf
parent6c416f20273cd427af18e25c0911ef6cf0da96d0 (diff)
parent3856314a186cc244b12119154e1db6c78e258e7c (diff)
Merge pull request #74 from nwellnhof/pdb_clash
Avoid name clash between Windows .pdb files
-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})