Skip to content

Restrict fmtlib fetch content - #879

Open
jdemel wants to merge 6 commits into
gnuradio:mainfrom
jdemel:fix-fmtlib-fetch-content
Open

jdemel wants to merge 6 commits into
gnuradio:mainfrom
jdemel:fix-fmtlib-fetch-content

Conversation

@jdemel

@jdemel jdemel commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Restrict the CMake FetchContent option to static builds explicitly. This should not interfere with other systems where fmtlib should've been installed.

A few more lines where touched because I auto-formatted the CMake file as well.

Fixes #876

@jdemel
jdemel force-pushed the fix-fmtlib-fetch-content branch from 7ecb050 to 2281000 Compare September 13, 2026 11:32
Restrict the CMake FetchContent option to static builds explicitly. This
should not interfere with other systems where fmtlib should've been
installed.

Signed-off-by: Johannes Sterz Demel <jdemel@gnuradio.org>
Signed-off-by: Johannes Sterz Demel <jdemel@gnuradio.org>
@jdemel
jdemel force-pushed the fix-fmtlib-fetch-content branch from 2281000 to 8e54f1c Compare September 13, 2026 15:46
Signed-off-by: Johannes Sterz Demel <jdemel@gnuradio.org>
Signed-off-by: Johannes Sterz Demel <jdemel@gnuradio.org>
Signed-off-by: Johannes Sterz Demel <jdemel@gnuradio.org>
Signed-off-by: Johannes Sterz Demel <jdemel@gnuradio.org>
@jdemel
jdemel force-pushed the fix-fmtlib-fetch-content branch from 8e54f1c to 30bddce Compare September 13, 2026 16:15
@jdemel
jdemel requested a review from michaelld September 13, 2026 17:00
@jdemel

jdemel commented Sep 13, 2026

Copy link
Copy Markdown
Contributor Author

It turns out, quite a few configurations depend on the FetchContent approach to provide fmtlib. Also, switching to a system fmtlib install turn out to be challenging.

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

Successfully merging this pull request may close these issues.

VOLK 3.3 _may_ generate libfmt.a stump

1 participant