From f4ad87c6eb598e3e7058f8942233cd82e1413795 Mon Sep 17 00:00:00 2001 From: Rosalie Wanders Date: Tue, 16 Jan 2024 17:10:39 +0100 Subject: [PATCH] cmake: fix RelWithDebInfo --- src/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index fca4e3a30..e72e89b5f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -192,9 +192,10 @@ if( NOT CMAKE_BUILD_TYPE) set( CMAKE_BUILD_TYPE Release) endif( NOT CMAKE_BUILD_TYPE) -if(CMAKE_BUILD_TYPE STREQUAL "Release" OR CMAKE_BUILD_TYPE STREQUAL "MinSizeRel") +if(CMAKE_BUILD_TYPE STREQUAL "Release" OR CMAKE_BUILD_TYPE STREQUAL "MinSizeRel" OR + CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo") set(GLIDEN64_BUILD_TYPE Release) -elseif(CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo") +elseif(CMAKE_BUILD_TYPE STREQUAL "Debug") set(GLIDEN64_BUILD_TYPE Debug) endif()