From: Tzafrir Cohen <[email protected]>
An ugly workaround to avoid having the "errors" in the last line of the
build log (and in red one line above it):
make insert_errors depend on the main codecs2 binary.
---
src/CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 041ad48..2dad5f0 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -237,6 +237,8 @@ target_link_libraries(fec_enc ${CMAKE_REQUIRED_LIBRARIES}
codec2)
add_executable(fec_dec fec_dec.c golay23.c)
target_link_libraries(fec_dec ${CMAKE_REQUIRED_LIBRARIES} codec2)
+add_dependencies(codec2 insert_errors)
+
install(TARGETS
codec2
c2demo
--
1.7.10.4
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2