From: Chris Gorman <chris@descartes.local>
Date: Mon, 14 Sep 2020 18:19:24 -0400
Subject: [PATCH] target_link_libraries sndfile::sndfile causes link error in
gr-osmosdr
use of sndfile::sndfile causes linker error when trying to build
gr-osmosdr. Change to sndfile links properly.
---
gr-blocks/lib/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gr-blocks/lib/CMakeLists.txt b/gr-blocks/lib/CMakeLists.txt
index c867d0ab0..c4ccf60d7 100644
--- a/gr-blocks/lib/CMakeLists.txt
+++ b/gr-blocks/lib/CMakeLists.txt
@@ -175,7 +175,7 @@ add_library(gnuradio-blocks
target_link_libraries(gnuradio-blocks
gnuradio-runtime
Volk::volk
- sndfile::sndfile
+ sndfile
)
target_include_directories(gnuradio-blocks
--
2.28.0
Hello All,
Just a quick patch for gr-blocks/lib/CMakeLists.txt. I find without
this patch the command passes sndfile::sndfile to the linker, which
causes a gr-osmosdr build to fail. I am using a LFS-10.0 install and
have libsndfile installed. I'm not sure this patch is necessary, but
it fixes the error on my system.
Please let me know if this should be fixed elsewhere, or if it causes
any breakages.
Chris
No comments:
Post a Comment