From cb00fcf9ae5b6ecd6d0cdf20b3efe03371e34428 Mon Sep 17 00:00:00 2001 From: Eduardo Dantas Date: Thu, 21 Nov 2024 19:32:50 -0300 Subject: [PATCH] fix: generate name for debug/release --- source/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 9ef5a8b1..92079450 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -2,7 +2,11 @@ # ***************************************************************************** # Project remeres # ***************************************************************************** -project(canary-map-editor) +if(CMAKE_BUILD_TYPE STREQUAL "Debug") + project(canary-map-editor LANGUAGES CXX) +else() + project(canary-map-editor-debug LANGUAGES CXX) +endif() find_package(asio CONFIG REQUIRED) find_package(fmt CONFIG REQUIRED)