Skip to content

@DIR@ in services #1949

Answered by Evengard
AGluk asked this question in Q&A
Feb 6, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

This is CMake shenanigans.

Ref to https://cmake.org/cmake/help/latest/command/configure_file.html and

install(CODE "set(DIR \"\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBEXECDIR}\")\nconfigure_file(${TOP_DIRECTORY}/systemd/softether-${component}.service ${BUILD_DIRECTORY}/softether-${component}.service)"

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@AGluk
Comment options

@Evengard
Comment options

Answer selected by AGluk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants