Install msvc debug files along with the binaries

This commit is contained in:
Ralf Habacker
2013-02-12 13:09:00 +01:00
committed by Robert Osfield
parent e536d8e601
commit 6eaf2f5781
3 changed files with 21 additions and 1 deletions

View File

@@ -71,5 +71,11 @@ INSTALL(
DESTINATION include/OpenThreads
COMPONENT libopenthreads-dev
)
if(MSVC)
INSTALL(
FILES ${CMAKE_CURRENT_BINARY_DIR}/OpenThreads${CMAKE_BUILD_POSTFIX}.pdb
DESTINATION bin
COMPONENT libopenthreads
)
)
#commented out# INCLUDE(ModuleInstall OPTIONAL)