Browse Source

Merge pull request #199 from mlt/cmake-msvc

MSVC specific debug symbols don't belong to other platforms
pull/200/head
orignal 10 years ago
parent
commit
9a9b38a8c3
  1. 4
      build/CMakeLists.txt

4
build/CMakeLists.txt

@ -199,7 +199,9 @@ if (WITH_BINARY)
target_link_libraries( "${PROJECT_NAME}-bin" common ${Boost_LIBRARIES} ${CRYPTO++_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ) 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(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 () endif ()
if (WITH_LIBRARY) if (WITH_LIBRARY)

Loading…
Cancel
Save