diff options
author | Jose Fonseca <jfonseca@vmware.com> | 2015-05-27 11:01:32 +0100 |
---|---|---|
committer | Jose Fonseca <jfonseca@vmware.com> | 2015-05-27 11:01:32 +0100 |
commit | d31f6f08740a46e5315c9279b8f987c9d1fce486 (patch) | |
tree | 922de6538fe66cc3aa86d2396e94fbf886306c2a | |
parent | 21253f44aad0d40c996955feac015585807d49c6 (diff) |
gui: Fix MacOSX build.
-rw-r--r-- | gui/CMakeLists.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index e2904ead..c2d0a3f5 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -1,3 +1,8 @@ +if (APPLE) + # Recent builds of Qt no longer support i386 architecture + set (CMAKE_OSX_ARCHITECTURES "x86_64") +endif() + add_library (qubjson STATIC qubjson.cpp ) @@ -98,11 +103,6 @@ target_link_libraries (qapitrace ${CMAKE_THREAD_LIBS_INIT} ) -if (APPLE) - # Recent builds of Qt no longer support i386 architecture - set_target_properties (qapitrace PROPERTIES OSX_ARCHITECTURES x86_64) -endif () - if (WIN32 AND NOT (CMAKE_BUILD_TYPE STREQUAL "Debug")) # Use Windows subsystem (i.e., no console). set_target_properties (qapitrace PROPERTIES CMAKE_WIN32_EXECUTABLE TRUE) |