Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment