diff options
| author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2026-02-07 13:01:42 +0100 |
|---|---|---|
| committer | Sander Vrijders <sander@ouroboros.rocks> | 2026-02-13 09:22:29 +0100 |
| commit | ec473cb9a6817bc748c4496a6dba719e7b751368 (patch) | |
| tree | d7df6f1d5bb64542381a84afb0046bedda7e3eb9 /cmake/install.cmake | |
| parent | 70300bdd48ece3763cc812fee276968767e77b3c (diff) | |
| download | ouroboros-ec473cb9a6817bc748c4496a6dba719e7b751368.tar.gz ouroboros-ec473cb9a6817bc748c4496a6dba719e7b751368.zip | |
build: Fix invisible IPCP_TARGET variables
The IPCP_*_TARGET variables (e.g., set(IPCP_LOCAL_TARGET ipcpd-local))
were defined locally in each IPCP's CMakeLists.txt (e.g.,
CMakeLists.txt), but the configure_file() that substitutes
@IPCP_LOCAL_TARGET@ into config.h.in runs in a sibling scope that is
processed before ipcpd. Since CMake variables don't propagate between
sibling directory scopes, all @IPCP_*_TARGET@ substituted to empty
strings, resulting in IPCP_LOCAL_EXEC "".
Moved the IPCP_*_TARGET definitions into the cmake/config/ipcp/*.cmake
files so they are known when generating config.h.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'cmake/install.cmake')
0 files changed, 0 insertions, 0 deletions
