toying with logging, cleaned up info module a little, and cmakelists.txt enhancement for install

This commit is contained in:
Chris Punches
2025-03-02 06:11:32 -05:00
parent 146ce1972f
commit e79fa3b89f
3 changed files with 158 additions and 73 deletions

View File

@@ -34,7 +34,11 @@ set_target_properties(info PROPERTIES
# Installation rules
install(TARGETS dpm DESTINATION bin)
install(DIRECTORY DESTINATION /etc/dpm/conf.d)
install(FILES ${CMAKE_SOURCE_DIR}/data/modules.conf DESTINATION /etc/dpm/conf.d)
install(DIRECTORY "${CMAKE_SOURCE_DIR}/data/"
DESTINATION /etc/dpm/conf.d
FILES_MATCHING
PATTERN "*.conf"
)
# Install all .so files from build/modules to the module path
install(DIRECTORY ${CMAKE_BINARY_DIR}/modules/