In @rules_foregin_cc::cmake: How to handle pkg_search_module in the CMakeLists.txt? #1298
Unanswered
shixiong-jiang
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, bazel experts,
Context
I am trying to compile https://github.com/Yubico/libfido2
However, its CMakeLists.txt has many
pkg_search_module
,https://github.com/Yubico/libfido2/blob/main/CMakeLists.txt#L221
I did write BUILD files to build above libraries.
Of course, I didn't generate
*.pc
file, since they are not useful for me.Question
IIUC,
pkg_search_module
usepkg-config
to look for*.pc
files.Could
@rules_foregin_cc::cmake
handlepkg_search_module
? Any workaround?Thx
Beta Was this translation helpful? Give feedback.
All reactions