Merge pull request #199 from mlt/cmake-msvc

MSVC specific debug symbols don't belong to other platforms
This commit is contained in:
orignal 2015-06-06 21:47:49 -04:00
commit 9a9b38a8c3

View File

@ -199,7 +199,9 @@ if (WITH_BINARY)
target_link_libraries( "${PROJECT_NAME}-bin" common ${Boost_LIBRARIES} ${CRYPTO++_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} )
install(TARGETS "${PROJECT_NAME}-bin" RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )
install(FILES $<TARGET_PDB_FILE:${PROJECT_NAME}-bin> DESTINATION "bin" CONFIGURATIONS DEBUG)
if (MSVC)
install(FILES $<TARGET_PDB_FILE:${PROJECT_NAME}-bin> DESTINATION "bin" CONFIGURATIONS DEBUG)
endif ()
endif ()
if (WITH_LIBRARY)