faust icon indicating copy to clipboard operation
faust copied to clipboard

When INCLUDE_HTTP=ON configure finds libmicrohttpd but then build doesn't use it

Open yurivict opened this issue 2 years ago • 1 comments

configure prints:

-- Checking for module 'libmicrohttpd'
--   Found libmicrohttpd, version 0.9.77
-- Found libmicrohttpd 0.9.77

but thenmicrohttpd never appears in any command lines, therefore it isn't used.

Additionally, build/http/CMakeLists.txt has indentation problems like this one:

                if (BUILD_HTTP_STATIC)
                list(POP_BACK PKG_CONFIG_EXECUTABLE)  # undo the append above
                endif()

This probably caused confusion.

Version: 2.68.0 clang-16 FreeBSD 13.2

yurivict avatar Sep 16 '23 05:09 yurivict

I think you've pointed out something helpful which is that when I created BUILD_HTTP_STATIC as a flag I should have just used INCLUDE_HTTP because it was meant for that purpose. Does that clarify things? We can try to revise the libfaust automation and see what happens. I think the static libHTTPDFaust.a is also used here: https://github.com/grame-cncm/faust/blob/master-dev/tools/benchmark/Makefile

DBraun avatar Oct 11 '23 20:10 DBraun