Commit 5ec6024
fix(server): make CURL optional for replay_http_server target
find_package(CURL REQUIRED) made libcurl-dev a hard configure-time dependency
for any build with DFLASH27B_TESTS=ON, even though the rest of the build
(dflash_server, server unit tests) already gates its own curl usage. Hosts
without libcurl-dev that previously configured cleanly now fail.
Drop REQUIRED and skip the replay_http_server target when CURL is not found.
The pytest driver checks for the binary and self-skips.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 0910b32 commit 5ec6024
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
884 | 884 | | |
885 | 885 | | |
886 | 886 | | |
887 | | - | |
888 | | - | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
889 | 894 | | |
890 | 895 | | |
891 | 896 | | |
| |||
0 commit comments