Temporarily allow it to build in MinGW
This commit is contained in:
parent
6a66d2256f
commit
1ae14db000
1 changed files with 4 additions and 2 deletions
|
|
@ -204,8 +204,10 @@ endif()
|
||||||
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||||
# higher C++ requirement on Windows
|
# higher C++ requirement on Windows
|
||||||
set_property(TARGET sfizz-vstgui PROPERTY CXX_STANDARD 14)
|
set_property(TARGET sfizz-vstgui PROPERTY CXX_STANDARD 14)
|
||||||
# Windows 10 RS2 DDI for custom fonts
|
# disable custom fonts while dwrite3 API is unavailable in MinGW
|
||||||
target_compile_definitions(sfizz-vstgui PRIVATE "NTDDI_VERSION=0x0A000003")
|
if(MINGW)
|
||||||
|
target_compile_definitions(sfizz-vstgui PRIVATE "VSTGUI_WIN32_CUSTOMFONT_SUPPORT=0")
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
|
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue