From b78775909dd2e7cfcdd924064f8d27e7c61350a32a39c8ffd85d6439b1b4be14 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Tue, 13 Sep 2016 12:00:34 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=265 --- cmake.changes | 5 +++++ cmake.macros | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cmake.changes b/cmake.changes index 8e9474b..d523d12 100644 --- a/cmake.changes +++ b/cmake.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 13 12:00:11 UTC 2016 - mpluskal@suse.com + +- Don't prepend .. to sourcedir + ------------------------------------------------------------------- Fri Sep 9 23:38:12 UTC 2016 - jimmy@boombatower.com diff --git a/cmake.macros b/cmake.macros index 2a3a3c3..92d7953 100644 --- a/cmake.macros +++ b/cmake.macros @@ -12,7 +12,7 @@ -exec sed -i -re '/^[[:blank:]]*[sS][eE][tT][[:blank:]]*\\\([[:blank:]]*(CMAKE_BUILD_TYPE|CMAKE_COLOR_MAKEFILE|CMAKE_INSTALL_PREFIX|CMAKE_VERBOSE_MAKEFILE).*\\\)/{s/^/#IGNORE /}' {} + \ mkdir -p %__builddir \ cd %__builddir \ - %__cmake ../%__sourcedir \\\ + %__cmake %__sourcedir \\\ %if "%__builder" == "%__make" \ -G"Unix Makefiles" \\\ %else \