From df6b47bc6d08b4e5cbe5c2def4eeca544d8f1432 Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Thu, 17 May 2018 19:33:19 +0200 Subject: [PATCH] CMake: Correct header for debug builds in MinGW compiler --- build/cmake/init.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/cmake/init.cmake b/build/cmake/init.cmake index b22da71efb..fac86758b6 100644 --- a/build/cmake/init.cmake +++ b/build/cmake/init.cmake @@ -109,7 +109,7 @@ else() endif() set(wxSETUP_HEADER_FILE ${wxSETUP_HEADER_PATH}/wx/setup.h) -if(NOT wxBUILD_CUSTOM_SETUP_HEADER_PATH AND MSVC) +if(DEFINED wxSETUP_HEADER_FILE_DEBUG) # Append configuration specific suffix to setup header path wx_string_append(wxSETUP_HEADER_PATH "$<$:d>") endif()