Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
dae88c48
Commit
dae88c48
authored
Sep 03, 2010
by
Peter Eastman
Browse files
Fixed bug on OS X where CMake variables did not get initialized correctly
parent
42cbcb89
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
CMakeLists.txt
CMakeLists.txt
+2
-2
No files found.
CMakeLists.txt
View file @
dae88c48
...
...
@@ -94,11 +94,11 @@ ELSE( 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
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_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
)
ENDIF
(
APPLE AND NOT CMAKE_OSX_
ARCHITECTURES
)
ENDIF
(
APPLE AND NOT CMAKE_OSX_
DEPLOYMENT_TARGET
)
IF
(
UNIX AND NOT CMAKE_BUILD_TYPE
)
SET
(
CMAKE_BUILD_TYPE Release CACHE STRING
"Debug or Release build"
FORCE
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment