From: Marsel Galimullin Date: Sun, 14 Aug 2016 10:12:52 +0000 (+0300) Subject: Add the suffix "_d" to debug version of the library X-Git-Tag: v2.2.0~140^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9159fdc5dbe14e0b9028e3c75f28186eaacf85e1;p=libcds.git Add the suffix "_d" to debug version of the library --- 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})