"serialization/src/BrownianIntegratorProxy.cpp" did not exist on "5d9b6481e9a8736859f6d9892e55d554db210079"
Commit dae88c48 authored by Peter Eastman's avatar Peter Eastman
Browse files

Fixed bug on OS X where CMake variables did not get initialized correctly

parent 42cbcb89
...@@ -94,11 +94,11 @@ ELSE( CMAKE_SIZEOF_VOID_P EQUAL 8 ) ...@@ -94,11 +94,11 @@ ELSE( CMAKE_SIZEOF_VOID_P EQUAL 8 )
ENDIF( CMAKE_SIZEOF_VOID_P EQUAL 8 ) ENDIF( CMAKE_SIZEOF_VOID_P EQUAL 8 )
# Build 32 bit binaries, since CUDA doesn't currently work with 64 bit # Build 32 bit binaries, since CUDA doesn't currently work with 64 bit
IF (APPLE AND NOT CMAKE_OSX_ARCHITECTURES) IF (APPLE AND NOT CMAKE_OSX_DEPLOYMENT_TARGET)
SET (CMAKE_OSX_ARCHITECTURES "i386" CACHE STRING "The processor architectures to build for" FORCE) SET (CMAKE_OSX_ARCHITECTURES "i386" CACHE STRING "The processor architectures to build for" FORCE)
SET (CMAKE_OSX_DEPLOYMENT_TARGET "10.5" CACHE STRING "The minimum version of OS X to support" FORCE) SET (CMAKE_OSX_DEPLOYMENT_TARGET "10.5" CACHE STRING "The minimum version of OS X to support" FORCE)
SET (CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.5.sdk" CACHE STRING "The SDK to build against" FORCE) SET (CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.5.sdk" CACHE STRING "The SDK to build against" FORCE)
ENDIF (APPLE AND NOT CMAKE_OSX_ARCHITECTURES) ENDIF (APPLE AND NOT CMAKE_OSX_DEPLOYMENT_TARGET)
IF(UNIX AND NOT CMAKE_BUILD_TYPE) IF(UNIX AND NOT CMAKE_BUILD_TYPE)
SET(CMAKE_BUILD_TYPE Release CACHE STRING "Debug or Release build" FORCE) SET(CMAKE_BUILD_TYPE Release CACHE STRING "Debug or Release build" FORCE)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment