Commit a39bcf4c authored by Atkins, Charles Vernon's avatar Atkins, Charles Vernon
Browse files

cmake: Make the post-install generation of adios2-config optional

parent 380b4a61
......@@ -234,7 +234,11 @@ add_subdirectory(cmake/install/packaging)
#------------------------------------------------------------------------------#
# Generating static adios-config
#------------------------------------------------------------------------------#
add_subdirectory(cmake/install/post)
option(ADIOS2_INSTALL_GENERATE_CONFIG "Install a generated adios2-config shell script for non-cmake projects" ON)
mark_as_advanced(ADIOS2_INSTALL_GENERATE_CONFIG)
if(ADIOS2_INSTALL_GENERATE_CONFIG)
add_subdirectory(cmake/install/post)
endif()
#------------------------------------------------------------------------------#
# Configuration summary
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment