Keep legacy_studio_definitions for non mingw64 toolchain

This commit is contained in:
Ritchie Swann 2024-08-11 10:08:32 +01:00 committed by Rachael Alexanderson
parent 120c0fb5ca
commit 709d5dd742
No known key found for this signature in database
GPG key ID: 26A8ACCE97115EE0

View file

@ -73,11 +73,16 @@ if( WIN32 )
dwmapi
)
if( NOT MINGW )
list( APPEND PROJECT_LIBRARIES legacy_stdio_definitions )
endif()
if( DEM_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE )
if( DX_dxguid_LIBRARY )
list( APPEND PROJECT_LIBRARIES "${DX_dxguid_LIBRARY}" )
endif()
endif()
else()
if( APPLE )
set( NO_GTK ON )