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
8ec95df6
Commit
8ec95df6
authored
Nov 11, 2011
by
Peter Eastman
Browse files
Change to build correctly on Lion. Also, build Python by default.
parent
31748d0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
CMakeLists.txt
CMakeLists.txt
+1
-2
No files found.
CMakeLists.txt
View file @
8ec95df6
...
@@ -110,7 +110,6 @@ ENDIF( CMAKE_SIZEOF_VOID_P EQUAL 8 )
...
@@ -110,7 +110,6 @@ ENDIF( CMAKE_SIZEOF_VOID_P EQUAL 8 )
IF
(
APPLE AND NOT CMAKE_OSX_DEPLOYMENT_TARGET
)
IF
(
APPLE AND NOT CMAKE_OSX_DEPLOYMENT_TARGET
)
SET
(
CMAKE_OSX_ARCHITECTURES
"i386;x86_64"
CACHE STRING
"The processor architectures to build for"
FORCE
)
SET
(
CMAKE_OSX_ARCHITECTURES
"i386;x86_64"
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
)
ENDIF
(
APPLE AND NOT CMAKE_OSX_DEPLOYMENT_TARGET
)
ENDIF
(
APPLE AND NOT CMAKE_OSX_DEPLOYMENT_TARGET
)
IF
(
UNIX AND NOT CMAKE_BUILD_TYPE
)
IF
(
UNIX AND NOT CMAKE_BUILD_TYPE
)
...
@@ -448,7 +447,7 @@ ENDIF (OPENMM_BUILD_SERIALIZATION_SUPPORT)
...
@@ -448,7 +447,7 @@ ENDIF (OPENMM_BUILD_SERIALIZATION_SUPPORT)
# Python wrappers
# Python wrappers
SET
(
OPENMM_BUILD_PYTHON_WRAPPERS O
FF
CACHE BOOL
"Build wrappers for Python"
)
SET
(
OPENMM_BUILD_PYTHON_WRAPPERS O
N
CACHE BOOL
"Build wrappers for Python"
)
IF
(
OPENMM_BUILD_PYTHON_WRAPPERS
)
IF
(
OPENMM_BUILD_PYTHON_WRAPPERS
)
IF
(
NOT OPENMM_BUILD_SERIALIZATION_SUPPORT
)
IF
(
NOT OPENMM_BUILD_SERIALIZATION_SUPPORT
)
MESSAGE
(
SEND_ERROR
"The Python wrappers require that serialization support be built."
)
MESSAGE
(
SEND_ERROR
"The Python wrappers require that serialization support be built."
)
...
...
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