- Commit
- 397829cbb945a1e3496552555e022ad4d5195851
- Parent
- 6c416f20273cd427af18e25c0911ef6cf0da96d0
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Merge pull request #74 from nwellnhof/pdb_clash
Avoid name clash between Windows .pdb files
My personal build of CMark ✏️
Merge pull request #74 from nwellnhof/pdb_clash
Avoid name clash between Windows .pdb files
1 file changed, 3 insertions, 0 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | src/CMakeLists.txt | 3 | 3 | 0 |
diff --git 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})