From 85ead680726cd4b5b1ed766ce3680b1a96173e79 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Fri, 3 Jul 2020 22:35:31 +0200 Subject: [PATCH] Enable out-of-source builds by default Signed-off-by: Igor Raits --- cmake.spec | 5 ++++- macros.cmake | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cmake.spec b/cmake.spec index e0cb769..8099865 100644 --- a/cmake.spec +++ b/cmake.spec @@ -67,7 +67,7 @@ Name: %{orig_name}%{?name_suffix} Version: %{major_version}.%{minor_version}.0 -Release: 1%{?relsuf}%{?dist} +Release: 1%{?relsuf}%{?dist}.1 Summary: Cross-platform make system # most sources are BSD @@ -501,6 +501,9 @@ mv -f Modules/FindLibArchive.disabled Modules/FindLibArchive.cmake %changelog +* Sat Jul 18 2020 Igor Raits - 3.18.0-1.1 +- Enable out-of-source builds by default + * Thu Jul 16 2020 Björn Esser - 3.18.0-1 - Update to 3.18.0 diff --git a/macros.cmake b/macros.cmake index 8440d93..06bdeda 100644 --- a/macros.cmake +++ b/macros.cmake @@ -7,7 +7,6 @@ %_cmake_version @@CMAKE_VERSION@@ %__cmake /usr/bin/cmake %__ctest /usr/bin/ctest -%__cmake_in_source_build 1 %__cmake_builddir %{!?__cmake_in_source_build:%{_vpath_builddir}}%{?__cmake_in_source_build:.} # - Set default compile flags