CMake: Correct header for debug builds in MinGW compiler

This commit is contained in:
Maarten Bent
2018-05-17 19:33:19 +02:00
parent db49de9668
commit df6b47bc6d

View File

@@ -109,7 +109,7 @@ else()
endif() endif()
set(wxSETUP_HEADER_FILE ${wxSETUP_HEADER_PATH}/wx/setup.h) 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 # Append configuration specific suffix to setup header path
wx_string_append(wxSETUP_HEADER_PATH "$<$<CONFIG:Debug>:d>") wx_string_append(wxSETUP_HEADER_PATH "$<$<CONFIG:Debug>:d>")
endif() endif()