Fix CMake script for static, auto-download, cln configuration (#7957)
authorMatthew Sotoudeh <masotoudeh@ucdavis.edu>
Tue, 18 Jan 2022 17:24:02 +0000 (09:24 -0800)
committerGitHub <noreply@github.com>
Tue, 18 Jan 2022 17:24:02 +0000 (17:24 +0000)
commit23a7caf3026b8b6063e120590d925a20aa6b57ac
tree884598e488ba98706dd8bc93ad6a91cb7c314eca
parent388fe59b2ae3d7583bd4ceefca262d336b4b9670
Fix CMake script for static, auto-download, cln configuration (#7957)

The script was previously creating a 'CLN_STATIC_LIBRARIES' variable that
wasn't known about elsewhere in the code and caused issues when the Makefiles
depended on a CLN_LIBRARIES variable. Instead, the static libraries should just
go into CLN_LIBRARIES as normal.

This only seems to have affected the case where cln is set to auto-download and
the build is static.

Signed-off-by: Matthew Sotoudeh sotoudeh@stanford.edu
cmake/FindCLN.cmake