From b5ee997da98a31cefa2d249ba39e3626b2268cab Mon Sep 17 00:00:00 2001 From: Mikhail Titov Date: Sat, 6 Jun 2015 14:16:29 -0500 Subject: [PATCH] MSVC specific debug symbols don't belong to other platforms --- build/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt index 5d2e04bf..c9dbcbd4 100644 --- a/build/CMakeLists.txt +++ b/build/CMakeLists.txt @@ -188,7 +188,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 $ DESTINATION "bin" CONFIGURATIONS DEBUG) + if (MSVC) + install(FILES $ DESTINATION "bin" CONFIGURATIONS DEBUG) + endif () endif () if (WITH_LIBRARY)