Install the shared Void/Detail headers
include/Void/Detail/Enum.hpp is included by public headers of Core (Meta.hpp), Log (Level.hpp, LoggingAdapter.hpp), Configuration (Config.hpp) and Data (Reflect.hpp), but belongs to no module's FILE_SET, so `cmake --install` never copied it and every consumer of an installed VoidLibrary failed to compile those headers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d95e11ea3e
commit
ff70dc685d
1 file changed
+6
@@ -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}"
|
||||
|
||||
Reference in new issue
Block a user