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

Builds on Debian i386 fail despite applying commit linked in #188 #190

Closed
smu-ggl opened this issue Nov 10, 2023 · 1 comment
Closed

Builds on Debian i386 fail despite applying commit linked in #188 #190

smu-ggl opened this issue Nov 10, 2023 · 1 comment

Comments

@smu-ggl
Copy link

smu-ggl commented Nov 10, 2023

Opening this to ensure visibility.

See #188 (comment) for my dive into this so far.

I can "fix" this for our use case by just removing the offending definition in libfaad/common.h, but that seems ill-advised.

@fabiangreffrath
Copy link
Collaborator

fabiangreffrath commented Nov 10, 2023

I guess I need to add something like this right before the check_symbol_exists() command:

include(CheckLibraryExists)
check_library_exists(m lrintf "" HAVE_LIBM)
if(HAVE_LIBM)
  list(APPEND CMAKE_REQUIRED_LIBRARIES m)
endif()

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

No branches or pull requests

2 participants