Qt: Fix host check
Vicki Pfau vi@endrift.com
Sun, 26 Mar 2017 10:51:34 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/platform/qt/CMakeLists.txt
→
src/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)