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
f2c4251e
Commit
f2c4251e
authored
Jan 16, 2014
by
peastman
Browse files
Merge pull request #291 from peastman/master
Fixed an error in CMake script when compiling with clang
parents
dbdb7f4c
55f008e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
CMakeLists.txt
CMakeLists.txt
+5
-5
No files found.
CMakeLists.txt
View file @
f2c4251e
...
@@ -53,15 +53,15 @@ if(COMMAND cmake_policy)
...
@@ -53,15 +53,15 @@ if(COMMAND cmake_policy)
endif
(
COMMAND cmake_policy
)
endif
(
COMMAND cmake_policy
)
# Where to install
# Where to install
IF
(
${
CMAKE_C_COMPILER
}
MATCHES
"gcc"
)
IF
(
WIN32
)
IF
(
NOT OPENMM_INSTALL_PREFIX
)
IF
(
NOT OPENMM_INSTALL_PREFIX
)
SET
(
OPENMM_INSTALL_PREFIX
"
/usr/local/o
pen
mm
"
)
SET
(
OPENMM_INSTALL_PREFIX
"
$ENV{ProgramFiles}/O
pen
MM
"
)
ENDIF
(
NOT OPENMM_INSTALL_PREFIX
)
ENDIF
(
NOT OPENMM_INSTALL_PREFIX
)
ELSE
(
${
CMAKE_C_COMPILER
}
MATCHES
"gcc"
)
ELSE
(
WIN32
)
IF
(
NOT OPENMM_INSTALL_PREFIX
)
IF
(
NOT OPENMM_INSTALL_PREFIX
)
SET
(
OPENMM_INSTALL_PREFIX
"
$ENV{ProgramFiles}/O
pen
MM
"
)
SET
(
OPENMM_INSTALL_PREFIX
"
/usr/local/o
pen
mm
"
)
ENDIF
(
NOT OPENMM_INSTALL_PREFIX
)
ENDIF
(
NOT OPENMM_INSTALL_PREFIX
)
ENDIF
(
${
CMAKE_C_COMPILER
}
MATCHES
"gcc"
)
ENDIF
(
WIN32
)
# 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