Commit 4791afda authored by Julien Leduc's avatar Julien Leduc
Browse files

Fixing issue #108: rpmbuild runs cmake underneath, but this second instance...

Fixing issue #108: rpmbuild runs cmake underneath, but this second instance needs to propagate the variables passed to the initial cmake.
parent 8abea8ed
......@@ -69,7 +69,7 @@ The CTA project is the CERN Tape Archive system.
mkdir -p build
cd build
# The cmake step does the selection between client/server compilation or just client
cmake .. -DCOMPILE_PACKAGING:STRING=0
CTA_VERSION=%{ctaVersion} cmake .. -DCOMPILE_PACKAGING:STRING=0 -DVCS_VERSION=%{ctaRelease}
# Workaround for the inability of cmake to handle properly the dependencies to generated code.
%{__make} -s %{_smp_mflags} -k || true
%{__make} -s %{_smp_mflags}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment