Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Podhorszki, Norbert
ADIOS2
Commits
328802ea
Commit
328802ea
authored
Jun 29, 2017
by
Atkins, Charles Vernon
Browse files
Use consistent output directories
parent
ef1a1408
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
328802ea
...
...
@@ -17,8 +17,10 @@ project(ADIOS2 VERSION 2.0.0)
#------------------------------------------------------------------------------#
# Some boilerplate to setup nice output directories
#------------------------------------------------------------------------------#
include
(
GNUInstallDirs
)
set
(
CMAKE_INSTALL_CMAKEDIR
"
${
CMAKE_INSTALL_LIBDIR
}
/cmake/adios2"
)
set
(
CMAKE_INSTALL_BINDIR bin
)
set
(
CMAKE_INSTALL_LIBDIR lib
)
set
(
CMAKE_INSTALL_INCLUDEDIR include
)
set
(
CMAKE_INSTALL_CMAKEDIR lib/cmake/adios2
)
list
(
INSERT CMAKE_MODULE_PATH 0
"
${
ADIOS2_SOURCE_DIR
}
/cmake"
)
if
(
NOT CMAKE_ARCHIVE_OUTPUT_DIRECTORY
)
...
...
bindings/python/CMakeLists.txt
View file @
328802ea
...
...
@@ -27,7 +27,8 @@ if(ADIOS2_HAVE_MPI)
target_link_libraries
(
adios2py PRIVATE PythonModule::mpi4py
)
endif
()
string
(
REGEX REPLACE
"^
${
PYTHON_PREFIX
}
/"
""
string
(
REGEX REPLACE
"^
${
PYTHON_PREFIX
}
/[^/]*/python"
"
${
CMAKE_INSTALL_LIBDIR
}
/python"
CMAKE_INSTALL_PYTHONDIR
"
${
PYTHON_SITE_PACKAGES
}
"
)
set
(
CMAKE_INSTALL_PYTHONDIR
"
${
CMAKE_INSTALL_PYTHONDIR
}
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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