mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix host check
This commit is contained in:
parent
b22796aff7
commit
aff1486ec5
|
@ -263,7 +263,7 @@ if(APPLE OR WIN32)
|
|||
endif()
|
||||
if(APPLE)
|
||||
message(STATUS ${CMAKE_SYSTEM_NAME})
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
||||
if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin")
|
||||
get_target_property(QTCOCOA Qt5::QCocoaIntegrationPlugin LOCATION)
|
||||
get_target_property(COREAUDIO Qt5::CoreAudioPlugin LOCATION)
|
||||
get_target_property(BUNDLE_PATH ${BINARY_NAME}-qt LOCATION)
|
||||
|
|
Loading…
Reference in New Issue