Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | From 4eed37b1a61458fc8e5251f7cb7c6d64e8e9da8d Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Wed, 5 Sep 2018 17:48:09 -0700 |
| 4 | Subject: [PATCH] Use curly braces for MAKE variable |
| 5 | |
| 6 | Fixes errors with ninja |
| 7 | | ninja: error: build.ninja:142: bad $-escape (literal $ must be written as $$) |
| 8 | |
| 9 | Upstream-Status: Submitted [https://github.com/libyui/libyui/pull/137] |
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 11 | --- |
| 12 | buildtools/LibyuiCommon.cmake | 4 ++-- |
| 13 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 14 | |
| 15 | diff --git a/buildtools/LibyuiCommon.cmake b/buildtools/LibyuiCommon.cmake |
| 16 | index cb93307..e6fbefd 100644 |
| 17 | --- a/buildtools/LibyuiCommon.cmake |
| 18 | +++ b/buildtools/LibyuiCommon.cmake |
| 19 | @@ -122,8 +122,8 @@ MACRO( SET_BUILD_FLAGS ) # setup compiler-flags depending on CMAKE_BUILD_TYPE |
| 20 | ENABLE_TESTING() |
| 21 | # add a wrapper "tests" target, the builtin "test" cannot be extended :-( |
| 22 | ADD_CUSTOM_TARGET(tests |
| 23 | - $(MAKE) |
| 24 | - COMMAND $(MAKE) test |
| 25 | + ${MAKE} |
| 26 | + COMMAND ${MAKE} test |
| 27 | ) |
| 28 | ENDIF ( ENABLE_TESTS OR ENABLE_CODE_COVERAGE) |
| 29 | |
| 30 | -- |
| 31 | 2.18.0 |
| 32 | |