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
7c836d2d
Commit
7c836d2d
authored
May 07, 2012
by
Peter Eastman
Browse files
Eliminated an obsolete CMake variable
parent
9a245d12
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
CMakeLists.txt
CMakeLists.txt
+2
-3
No files found.
CMakeLists.txt
View file @
7c836d2d
...
@@ -53,14 +53,13 @@ endif(COMMAND cmake_policy)
...
@@ -53,14 +53,13 @@ endif(COMMAND cmake_policy)
# Where to install
# Where to install
IF
(
${
CMAKE_C_COMPILER
}
MATCHES
"gcc"
)
IF
(
${
CMAKE_C_COMPILER
}
MATCHES
"gcc"
)
IF
(
NOT OPENMM_INSTALL_PREFIX
)
IF
(
NOT OPENMM_INSTALL_PREFIX
)
SET
(
OPENMM_INSTALL_PREFIX
"/usr/local/openmm"
CACHE PATH
"Where to install OpenMM"
)
SET
(
OPENMM_INSTALL_PREFIX
"/usr/local/openmm"
)
ENDIF
(
NOT OPENMM_INSTALL_PREFIX
)
ENDIF
(
NOT OPENMM_INSTALL_PREFIX
)
ELSE
(
${
CMAKE_C_COMPILER
}
MATCHES
"gcc"
)
ELSE
(
${
CMAKE_C_COMPILER
}
MATCHES
"gcc"
)
IF
(
NOT OPENMM_INSTALL_PREFIX
)
IF
(
NOT OPENMM_INSTALL_PREFIX
)
SET
(
OPENMM_INSTALL_PREFIX
"$ENV{ProgramFiles}/OpenMM"
CACHE PATH
"Where to install OpenMM"
)
SET
(
OPENMM_INSTALL_PREFIX
"$ENV{ProgramFiles}/OpenMM"
)
ENDIF
(
NOT OPENMM_INSTALL_PREFIX
)
ENDIF
(
NOT OPENMM_INSTALL_PREFIX
)
ENDIF
(
${
CMAKE_C_COMPILER
}
MATCHES
"gcc"
)
ENDIF
(
${
CMAKE_C_COMPILER
}
MATCHES
"gcc"
)
MARK_AS_ADVANCED
(
OPENMM_INSTALL_PREFIX
)
# It seems that on linux and mac, everything is trying to be installed in /usr/local/openmm
# It seems that on linux and mac, everything is trying to be installed in /usr/local/openmm
# But if every install target is prefixed with /openmm/, on Windows the install files
# But if every install target is prefixed with /openmm/, on Windows the install files
...
...
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