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

Unknown CMake command "check_source_compiles" on Debian Bullseye #54

Open
Thi3rryzz opened this issue Mar 12, 2024 · 0 comments
Open

Unknown CMake command "check_source_compiles" on Debian Bullseye #54

Thi3rryzz opened this issue Mar 12, 2024 · 0 comments

Comments

@Thi3rryzz
Copy link

Hi all,

I'm trying to build this source on a debian bullseye machine without success.
I'm facing the following CMake issue:

CMake Error at src/c-periphery/CMakeLists.txt:12 (check_source_compiles): Unknown CMake command "check_source_compiles".

If I'm not mistaken, this command was only introduced in CMake version 3.19, where Debian bullseye ships with 3.18.4 by default.
Any suggestions on how to go about this? (preferrably without utilizing bullseye-backports version of CMake?)

Thank in advance!
Thierry
Also, the cmake_minimum_required version is currently set at 2.6, which should be upped I think?

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

1 participant