diff --git a/CMakeLists.txt b/CMakeLists.txt index 05922e4..9c1d6f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,6 +71,12 @@ configure_package_config_file( INSTALL_DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}" ) +# Support headers shared by several modules (e.g. Void/Detail/Enum.hpp, used by +# Core, Log, Configuration and Data). They belong to no module's FILE_SET, so +# they are installed here; every module's install include dir covers them. +install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/Void/Detail" + DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/Void") + install(EXPORT ${EXPORT_SET_NAME} NAMESPACE ${PROJECT_NAME}:: DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}"