diff --git a/src/wx/CMakeLists.txt b/src/wx/CMakeLists.txt index 7546c03f..5c93ce53 100644 --- a/src/wx/CMakeLists.txt +++ b/src/wx/CMakeLists.txt @@ -182,7 +182,7 @@ endif() find_package(OpenAL REQUIRED) if(WIN32) - if(CMAKE_BUILD_TYPE Debug) + if(CMAKE_BUILD_TYPE STREQUAL "Debug") find_library(FMT fmtd) else() find_library(FMT fmt)