CMakeLists.txt: Remove Apple architecture settings.

Those should be passed in as part of CFLAGS/CXXFLAGS.
This commit is contained in:
John Ralls 2017-04-29 17:51:45 -07:00
parent e79d9b5cba
commit 582edc1b31

View File

@ -142,16 +142,6 @@ IF (WIN32)
SET(CMAKE_EXE_LINKER_FLAGS -mwindows)
ENDIF(WIN32)
IF (APPLE)
SET (CMAKE_OSX_ARCHITECTURES "i386")
ADD_DEFINITIONS(-arch i386)
#SET(CMAKE_OSX_ARCHITECTURES "x86_64")
# For PPC build, uncomment these lines (untested):
#SET (CMAKE_OSX_ARCHITECTURES "i386;ppc")
#ADD_DEFINITIONS(-arch i386 -arch ppc
#SET (AC_APPLE_UNIVERSAL_BUILD 1)
ENDIF (APPLE)
FIND_PACKAGE(PkgConfig REQUIRED)
# The default FindPkgConfig.make code has a bug in how the setting of PKG_CONFIG_PATH is handled.