From 9159fdc5dbe14e0b9028e3c75f28186eaacf85e1 Mon Sep 17 00:00:00 2001 From: Marsel Galimullin Date: Sun, 14 Aug 2016 13:12:52 +0300 Subject: [PATCH] Add the suffix "_d" to debug version of the library --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ffdcf50c..d782e3c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -111,6 +111,7 @@ set(SOURCES src/hp_gc.cpp add_library(${CDS_SHARED_LIBRARY} SHARED ${SOURCES}) set_target_properties( ${CDS_SHARED_LIBRARY} PROPERTIES VERSION ${PROJECT_VERSION}) add_library(${CDS_STATIC_LIBRARY} STATIC ${SOURCES}) +set_target_properties(${PROJECT_NAME} PROPERTIES DEBUG_POSTFIX "_d") target_link_libraries(${CDS_SHARED_LIBRARY} PRIVATE ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries(${CDS_STATIC_LIBRARY} PRIVATE ${CMAKE_THREAD_LIBS_INIT}) -- 2.34.1