From: José Fonseca Date: Wed, 3 Oct 2012 13:39:04 +0000 (+0100) Subject: Fix MacOSX build w/ recent Qt due to lack of i386 arch support. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=4ee4ab768d175c2bf9497b0a4cf5b98f0c6dd406;p=apitrace Fix MacOSX build w/ recent Qt due to lack of i386 arch support. --- diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index ece6643..8968cb4 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -71,6 +71,11 @@ target_link_libraries (qapitrace ${QT_LIBRARIES} ) +# Recent builds of Qt no longer support i386 architecture +if (APPLE) + set_target_properties (qapitrace PROPERTIES OSX_ARCHITECTURES x86_64) +endif () + ########### install files ############### install (TARGETS qapitrace RUNTIME DESTINATION bin)