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

Cross Compiling Broken #16

Closed
p0fi opened this issue Mar 28, 2018 · 1 comment
Closed

Cross Compiling Broken #16

p0fi opened this issue Mar 28, 2018 · 1 comment
Labels

Comments

@p0fi
Copy link
Contributor

p0fi commented Mar 28, 2018

The recent changes to the CMakeLists.txt broke cross compiling for the package.

The compiler gives the following error message:

-- Check if compiler accepts -pthread
CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
   THREADS_PTHREAD_ARG (advanced)
For details see /builds/buildroot/output/build/spdlog_setup-b18c8577ce0edc1c35b0ec5b7c45d7bffdd6dd18/TryRunResults.cmake
-- Check if compiler accepts -pthread - no
-- Found Threads: TRUE
-- The C compiler identification is GNU 7.3.0

It seems the changes you made to thread linking broke it for some reason.

#17 should fix this

@guangie88 guangie88 added the bug label Mar 28, 2018
@guangie88
Copy link
Owner

#17 resolves this 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants