From 5b8b8d9ef6d7ac7ba602f66ed13a9a50542aed37 Mon Sep 17 00:00:00 2001 From: Eduardo Dantas Date: Thu, 21 Nov 2024 19:31:58 -0300 Subject: [PATCH] a --- 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)