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:
parent
36bffd8f53
commit
c3889beb38
3 changed files with 2 additions and 12 deletions
|
@ -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"
|
||||
|
|
|
@ -181,13 +181,3 @@ install(
|
|||
PATTERN "*.h"
|
||||
PATTERN "*.hpp"
|
||||
)
|
||||
|
||||
#install(
|
||||
# EXPORT VILLASNodeConfig
|
||||
# DESTINATION share/VILLASNode/cmake
|
||||
#)
|
||||
|
||||
#export(
|
||||
# TARGETS villas
|
||||
# FILE VILLASNodeConfig.cmake
|
||||
#)
|
||||
|
|
|
@ -23,5 +23,5 @@
|
|||
install(
|
||||
DIRECTORY socket/
|
||||
COMPONENT bin
|
||||
DESTINATION share/villas/node/web
|
||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/villas/node/web
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue