From 4ee4ab768d175c2bf9497b0a4cf5b98f0c6dd406 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Wed, 3 Oct 2012 14:39:04 +0100 Subject: [PATCH] Fix MacOSX build w/ recent Qt due to lack of i386 arch support. --- gui/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) 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) -- 2.45.2