From 0ec4502b0369ce95a1e145763aae4de687c42bb6 Mon Sep 17 00:00:00 2001 From: Fabio Paolini <65661408+fabiocomm5@users.noreply.github.com> Date: Tue, 30 Jul 2024 16:30:56 -0300 Subject: [PATCH] Update CMakeLists.txt to add a 'd' sulffix to the lib built for debug This command was added to separate the debug and release version, otherise it was need the rename the lib when alternate the compilation between debug and release in the main application. I have noted that kdchart makes such a separation but I did not find how it is done there. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ab9e2cc..bfda2a0c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,6 +69,7 @@ project( LANGUAGES CXX ) +set(CMAKE_DEBUG_POSTFIX d) set(${PROJECT_NAME}_VERSION_MAJOR 2) set(${PROJECT_NAME}_VERSION_MINOR 2) set(${PROJECT_NAME}_VERSION_PATCH 1)