Enable out-of-source builds

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Raits 2020-07-03 22:35:31 +02:00
parent f626219c98
commit 419924585f
No known key found for this signature in database
GPG Key ID: 115D5AB89C5C1E1E
2 changed files with 4 additions and 2 deletions

View File

@ -67,7 +67,7 @@
Name: %{orig_name}%{?name_suffix} Name: %{orig_name}%{?name_suffix}
Version: %{major_version}.%{minor_version}.0 Version: %{major_version}.%{minor_version}.0
Release: 0.7%{?relsuf}%{?dist} Release: 0.8%{?relsuf}%{?dist}
Summary: Cross-platform make system Summary: Cross-platform make system
# most sources are BSD # most sources are BSD
@ -503,6 +503,9 @@ mv -f Modules/FindLibArchive.disabled Modules/FindLibArchive.cmake
%changelog %changelog
* Fri Jul 03 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 3.18.0-0.8.rc2
- Enable out-of-source builds
* Fri Jul 03 2020 Neal Gompa <ngompa13@gmail.com> - 3.18.0-0.7.rc2 * Fri Jul 03 2020 Neal Gompa <ngompa13@gmail.com> - 3.18.0-0.7.rc2
- Switch to implementation that is backwards compatible to older RPM - Switch to implementation that is backwards compatible to older RPM
- Change control macro for in-source/out-of-source to %%__cmake_in_source_build - Change control macro for in-source/out-of-source to %%__cmake_in_source_build

View File

@ -7,7 +7,6 @@
%_cmake_version @@CMAKE_VERSION@@ %_cmake_version @@CMAKE_VERSION@@
%__cmake /usr/bin/cmake %__cmake /usr/bin/cmake
%__ctest /usr/bin/ctest %__ctest /usr/bin/ctest
%__cmake_in_source_build 1
%__cmake_builddir %{!?__cmake_in_source_build:%{_vpath_builddir}}%{?__cmake_in_source_build:.} %__cmake_builddir %{!?__cmake_in_source_build:%{_vpath_builddir}}%{?__cmake_in_source_build:.}
# - Set default compile flags # - Set default compile flags