1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

cmake: use GnuInstallDirs for installing configuration files into the proper directory (closes #276)

This commit is contained in:
Steffen Vogel 2020-09-03 14:58:27 +02:00
parent 36bffd8f53
commit c3889beb38
3 changed files with 2 additions and 12 deletions

View file

@ -23,7 +23,7 @@
install(
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMPONENT bin
DESTINATION etc/villas/node
DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/villas/node
FILES_MATCHING
PATTERN "*.conf"
PATTERN "*.json"

View file

@ -181,13 +181,3 @@ install(
PATTERN "*.h"
PATTERN "*.hpp"
)
#install(
# EXPORT VILLASNodeConfig
# DESTINATION share/VILLASNode/cmake
#)
#export(
# TARGETS villas
# FILE VILLASNodeConfig.cmake
#)

View file

@ -23,5 +23,5 @@
install(
DIRECTORY socket/
COMPONENT bin
DESTINATION share/villas/node/web
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/villas/node/web
)