Skip to content
Browse files

Re-enabled i386 support

  • Loading branch information...
1 parent 0757d8e commit 90de20f324814bf1f04697089728cf563a046062 @bmcdorman bmcdorman committed
Showing with 3 additions and 3 deletions.
  1. +1 −1 CMakeLists.txt
  2. +1 −1 plugins/interfaces/kovan/CMakeLists.txt
  3. +1 −1 plugins/interfaces/kovan_serial/CMakeLists.txt
View
2 CMakeLists.txt
@@ -82,7 +82,7 @@ ADD_DEFINITIONS(-DQT_SHAREDPOINTER_TRACK_POINTERS)
IF(APPLE)
SET(CMAKE_OSX_SYSROOT "${OSX_DEVELOPER_ROOT}/SDKs/MacOSX10.6.sdk")
- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -arch x86_64 -g")
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -arch x86_64 -arch i386 -g")
LINK_DIRECTORIES(/Library/Frameworks/)
ADD_EXECUTABLE(KISS MACOSX_BUNDLE ${KISS_SRCS_CXX})
ELSEIF(UNIX)
View
2 plugins/interfaces/kovan/CMakeLists.txt
@@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 2.6.0)
IF(APPLE)
SET(CMAKE_OSX_SYSROOT "${OSX_DEVELOPER_ROOT}/SDKs/MacOSX10.6.sdk")
-SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -arch x86_64 -g")
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -arch x86_64 -arch i386 -g")
ENDIF(APPLE)
FIND_PACKAGE(Qt4 REQUIRED)
View
2 plugins/interfaces/kovan_serial/CMakeLists.txt
@@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 2.6.0)
IF(APPLE)
SET(CMAKE_OSX_SYSROOT "${OSX_DEVELOPER_ROOT}/SDKs/MacOSX10.6.sdk")
-SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -arch x86_64 -g")
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -arch x86_64 -arch i386 -g")
ENDIF(APPLE)
FIND_PACKAGE(Qt4 REQUIRED)

0 comments on commit 90de20f

Please sign in to comment.
Something went wrong with that request. Please try again.