]> git.cworth.org Git - apitrace/commitdiff
Fix MacOSX build w/ recent Qt due to lack of i386 arch support.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Wed, 3 Oct 2012 13:39:04 +0000 (14:39 +0100)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Wed, 3 Oct 2012 13:39:04 +0000 (14:39 +0100)
gui/CMakeLists.txt

index ece66434a1ad922e502bb58583e0294144450118..8968cb4852f2c52eff7e328f7f822b59941864fa 100644 (file)
@@ -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)