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. 2
      build/CMakeLists.txt

2
build/CMakeLists.txt

@ -199,8 +199,10 @@ if (WITH_BINARY) @@ -199,8 +199,10 @@ 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} )
if (MSVC)
install(FILES $<TARGET_PDB_FILE:${PROJECT_NAME}-bin> DESTINATION "bin" CONFIGURATIONS DEBUG)
endif ()
endif ()
if (WITH_LIBRARY)
if (MSVC)

Loading…
Cancel
Save