all repos — mgba @ aff1486ec5fe3185de59d20665c4042b715853ae

mGBA Game Boy Advance Emulator

Qt: Fix host check
Vicki Pfau vi@endrift.com
Sun, 26 Mar 2017 10:51:34 -0700
commit

aff1486ec5fe3185de59d20665c4042b715853ae

parent

b22796aff7357a650484fd0e5f84bab9aab79bcc

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/platform/qt/CMakeLists.txtsrc/platform/qt/CMakeLists.txt

@@ -263,7 +263,7 @@ set_target_properties(${BINARY_NAME}-qt PROPERTIES OUTPUT_NAME ${PROJECT_NAME})

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)