diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-08-29 18:18:35 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-08-29 18:18:35 (GMT) |
commit | ed4cbbcc9bbda6c81f19fb4e7c04e948b46ce6fc (patch) | |
tree | 4d4b28ccb5ebc018ccb2f41299e1779e66f70d20 /config | |
parent | fa540a3af8a5ad3d201223aa0baf26819437e108 (diff) | |
download | hdf5-ed4cbbcc9bbda6c81f19fb4e7c04e948b46ce6fc.zip hdf5-ed4cbbcc9bbda6c81f19fb4e7c04e948b46ce6fc.tar.gz hdf5-ed4cbbcc9bbda6c81f19fb4e7c04e948b46ce6fc.tar.bz2 |
Update settings
Diffstat (limited to 'config')
-rw-r--r-- | config/toolchain/build32.cmake | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config/toolchain/build32.cmake b/config/toolchain/build32.cmake index 99b3013..3d9197d 100644 --- a/config/toolchain/build32.cmake +++ b/config/toolchain/build32.cmake @@ -1,11 +1,13 @@ if (WIN32) set (CMAKE_SYSTEM_NAME Windows) set (CMAKE_GENERATOR_PLATFORM "x86") +elseif(APPLE) + set (CMAKE_OSX_ARCHITECTURES "i386") else () set (CMAKE_SYSTEM_NAME Linux) - set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32 -msse2" CACHE STRING "c++ flags") - set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m32 -msse2" CACHE STRING "c flags") + set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32" CACHE STRING "c++ flags") + set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m32" CACHE STRING "c flags") set (LIB32 /usr/lib) # Fedora |