Skip to content

Build failed with c_std_11 option #66683

Answered by nordicjm
bettio asked this question in General
Discussion options

You must be logged in to vote

Remark: the library I'm trying to build with add_subdirectory is already using cmake build system, hence using add_subdirectory feels like the first obvious option.

No, this is not true. That is for zephyr libraries and code, you can't just include any random cmake project and expect it to work, it will not.

By the way, is this kind of limitation something wanted by design or something that might be fixed in the future?

The current behaviour is by design and expected, it will not be changed in future.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@bettio
Comment options

Comment options

You must be logged in to vote
1 reply
@bettio
Comment options

Answer selected by bettio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #66670 on December 20, 2023 08:20.