From 81b26274c2cf7afa32f842356b401fb2d4768931 Mon Sep 17 00:00:00 2001 From: Rosalie Wanders Date: Tue, 23 Jan 2024 12:44:02 +0100 Subject: [PATCH] 3rdParty: fix mupen64plus-video-GLideN64 with RelWithDebInfo --- Source/3rdParty/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/3rdParty/CMakeLists.txt b/Source/3rdParty/CMakeLists.txt index 4f01ea242..781adef20 100644 --- a/Source/3rdParty/CMakeLists.txt +++ b/Source/3rdParty/CMakeLists.txt @@ -142,9 +142,11 @@ if (WIN32) set(GLIDEN64_LIB "${GLIDEN64_BUILD_DIR}/mupen64plus-video-GLideN64.${SO_EXT}") else(WIN32) # taken from GLideN64's CMakeLists.txt - 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() set(GLIDEN64_LIB "${GLIDEN64_BUILD_DIR}/plugin/${GLIDEN64_BUILD_TYPE}/mupen64plus-video-GLideN64.${SO_EXT}")