File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -416,11 +416,6 @@ install(TARGETS ${name}
416
416
LIBRARY DESTINATION ${LIB_INSTALL_DIR}
417
417
)
418
418
install ( FILES ${HFILES} DESTINATION ${INCLUDE_INSTALL_DIR} )
419
- if (MSVC )
420
- # install(FILES $<TARGET_PDB_FILE:${name}> DESTINATION lib OPTIONAL)
421
- INSTALL (FILES ${PROJECT_BINARY_DIR} /${name} .dir/Debug/${name} .pdb
422
- DESTINATION lib CONFIGURATIONS Debug )
423
- endif ()
424
419
425
420
#------------------------------------------------------------------------
426
421
# Dynamic Library
@@ -445,6 +440,9 @@ if (BUILD_SHARED_LIB)
445
440
ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
446
441
LIBRARY DESTINATION ${LIB_INSTALL_DIR}
447
442
)
443
+ if (MSVC )
444
+ install (FILES $<TARGET_PDB_FILE:tidy-share> DESTINATION ${LIB_INSTALL_DIR} OPTIONAL )
445
+ endif ()
448
446
if (TIDY_CONSOLE_SHARED) # user wants shared/dll linkage
449
447
list ( APPEND add_LIBS ${name} )
450
448
endif ()
You can’t perform that action at this time.
0 commit comments