Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake: get cpp-httplib libraries from pkgconf #342

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dankamongmen
Copy link

openvino-audacity requires libcpp-httlib, but doesn't look it up in CMake. REQUIRE it, so that we fail at configuration time if it's not available, and properly pass -l options when it is.

without this, we fail with:

[ 98%] Building CXX object modules/mod-openvino/CMakeFiles/mod-openvino.dir/OVWhisperTranscription.cpp.o
[ 98%] Linking CXX shared module ../../RelWithDebInfo/lib/audacity/modules/mod-openvino.so
/usr/bin/ld: cannot find -lhttplib: No such file or directory
collect2: error: ld returned 1 exit status

openvino-audacity requires libcpp-httlib, but doesn't
look it up in CMake. REQUIRE it, so that we fail at
configuration time if it's not available, and properly
pass -l options when it is.

Signed-off-by: nick black <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant