[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 07/09: CMake: Fix dummy command in UseSWIG.
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 07/09: CMake: Fix dummy command in UseSWIG.cmake |
Date: |
Wed, 9 Mar 2016 15:50:52 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch maint
in repository gnuradio.
commit fd6fc554256dfa16884274f0f59665c50fc8098a
Author: Paul Cercueil <address@hidden>
Date: Tue Mar 1 11:43:07 2016 +0100
CMake: Fix dummy command in UseSWIG.cmake
Having the COMMAND parameter of the add_custom_command() function as an
empty string only works on Linux when generating Makefiles. It did not
work on Linux when using a different generator (in my case, Ninja), or
when building under Visual Studio.
This commit removes the empty string, and just don't specify any
command. This will work on all system / build system couples possible.
Signed-off-by: Paul Cercueil <address@hidden>
---
cmake/Modules/UseSWIG.cmake | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmake/Modules/UseSWIG.cmake b/cmake/Modules/UseSWIG.cmake
index c0f1728..d101494 100644
--- a/cmake/Modules/UseSWIG.cmake
+++ b/cmake/Modules/UseSWIG.cmake
@@ -224,9 +224,9 @@ print(re.sub('\\W', '_', '${name} ${reldir} ' + unique))"
foreach(swig_gen_file ${${outfiles}})
add_custom_command(
OUTPUT ${swig_gen_file}
- COMMAND ""
+ COMMAND
DEPENDS ${_target}
- COMMENT ""
+ COMMENT
)
endforeach()
- [Commit-gnuradio] [gnuradio] branch maint updated (cf5ebff -> 0a1a76d), git, 2016/03/09
- [Commit-gnuradio] [gnuradio] 08/09: Merge remote-tracking branch 'nwest/filter-docs' into maint, git, 2016/03/09
- [Commit-gnuradio] [gnuradio] 07/09: CMake: Fix dummy command in UseSWIG.cmake,
git <=
- [Commit-gnuradio] [gnuradio] 03/09: docs: change firdes::low_pass2 docs to match implementation comments, git, 2016/03/09
- [Commit-gnuradio] [gnuradio] 05/09: fft: replace fftwf_malloc with volk_malloc, git, 2016/03/09
- [Commit-gnuradio] [gnuradio] 04/09: grc: run flowgraphs even if bypassed blocks contain errors, git, 2016/03/09
- [Commit-gnuradio] [gnuradio] 09/09: Merge remote-tracking branch 'nwest/fft-avx-alignment' into maint, git, 2016/03/09
- [Commit-gnuradio] [gnuradio] 06/09: fft: explicitly link to volk, git, 2016/03/09
- [Commit-gnuradio] [gnuradio] 01/09: filter docs: add bt parameter to docs for gaussian filter, git, 2016/03/09
- [Commit-gnuradio] [gnuradio] 02/09: docs: reformat firdes docs to render nicely in doxygen, git, 2016/03/09