Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argo
Applications
LAMMPS
Commits
5189bc4f
Commit
5189bc4f
authored
Aug 26, 2018
by
Christoph Junghans
Browse files
cmake: fix install of potential files
Add an '/' at the end avoids the double potentials/ subdir.
parent
413fdbbf
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake/CMakeLists.txt
View file @
5189bc4f
...
@@ -1130,7 +1130,7 @@ endif()
...
@@ -1130,7 +1130,7 @@ endif()
# Install potential files in data directory
# Install potential files in data directory
###############################################################################
###############################################################################
set
(
LAMMPS_POTENTIALS_DIR
${
CMAKE_INSTALL_FULL_DATADIR
}
/lammps/potentials
)
set
(
LAMMPS_POTENTIALS_DIR
${
CMAKE_INSTALL_FULL_DATADIR
}
/lammps/potentials
)
install
(
DIRECTORY
${
LAMMPS_SOURCE_DIR
}
/../potentials DESTINATION
${
CMAKE_INST
AL
L
_D
ATADIR
}
/lammps/potentials
)
install
(
DIRECTORY
${
LAMMPS_SOURCE_DIR
}
/../potentials
/
DESTINATION
${
LAMMPS_POTENTI
AL
S
_D
IR
}
)
configure_file
(
etc/profile.d/lammps.sh.in
${
CMAKE_BINARY_DIR
}
/etc/profile.d/lammps.sh @ONLY
)
configure_file
(
etc/profile.d/lammps.sh.in
${
CMAKE_BINARY_DIR
}
/etc/profile.d/lammps.sh @ONLY
)
configure_file
(
etc/profile.d/lammps.csh.in
${
CMAKE_BINARY_DIR
}
/etc/profile.d/lammps.csh @ONLY
)
configure_file
(
etc/profile.d/lammps.csh.in
${
CMAKE_BINARY_DIR
}
/etc/profile.d/lammps.csh @ONLY
)
...
...
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