diff options
-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) |