From 0695665761a0050160feea847a38665156eeeb1c Mon Sep 17 00:00:00 2001
From: Tim Kaune <tim.kaune@gmx.de>
Date: Wed, 21 Feb 2024 14:10:36 +0100
Subject: [PATCH] Remove setting of build type

LoadStaticSharedTargets is completely build type agnostic.
---
 CMakeLists.txt | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 12576a8..3bee42d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,17 +41,6 @@ if (IS_TOP_LEVEL)
     set(CMAKE_CTEST_ARGUMENTS "--verbose")
 endif ()
 
-# LoadStaticSharedTargets is a CMake script, which we never want to debug
-# If using a multi config generator
-get_property(_IS_MULTI_CONFIG GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
-if (_IS_MULTI_CONFIG)
-    set(CMAKE_CONFIGURATION_TYPES "Release")
-    set(CMAKE_DEFAULT_BUILD_TYPE "Release")
-# If using a single config generator
-else ()
-    set(CMAKE_BUILD_TYPE "Release")
-endif ()
-
 add_subdirectory(src)
 
 if (IS_TOP_LEVEL AND BUILD_TESTING)
-- 
GitLab