Start using %__cmake_builddir, packaging guidelines has been updated
This commit is contained in:
parent
b59d80d8fe
commit
79208d90fd
@ -10,11 +10,6 @@
|
||||
# I'm generally in favor of this change, however when I tried to adapt it, I encountered a number of issues.
|
||||
# That's why I disabled it for now.
|
||||
%global __cmake_in_source_build 1
|
||||
# Specifically, be aware that all subsequent call of CMake *MUST* be called with the specified builddir
|
||||
# e.g. " cmake -B %%{__cmake_builddir} -LAH "
|
||||
# Otherwise you will experience *really odd* behaviour. HOWEVER the "%%{__cmake_builddir}" is not suitable for use,
|
||||
# read this mail discussion for details:
|
||||
# https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/WJUNUJ7BJQYXQTONR5AGOKD3ZNKLSDDC/
|
||||
|
||||
|
||||
|
||||
@ -138,7 +133,7 @@ FFLAGS="$FFLAGS -O0 -g"; export FFLAGS
|
||||
FCFLAGS="$FCFLAGS -O0 -g"; export FCFLAGS
|
||||
%endif
|
||||
|
||||
#cmake ./ -LAH
|
||||
cmake -B %__cmake_builddir -LAH
|
||||
|
||||
%cmake_build
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user