Really build docs when docs is 1

This conditional was typoed. It's 'docs' not 'doc'.
This commit is contained in:
Adam Williamson 2018-02-22 14:16:17 -08:00
parent 7d38d8d3b1
commit 4bce92e396
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ rm -f ext/yaml*
%build
rm -rf build && mkdir build && pushd build
%cmake -DOCIO_BUILD_STATIC=OFF \
-DOCIO_BUILD_DOCS=%{?doc:ON}%{?!doc:OFF} \
-DOCIO_BUILD_DOCS=%{?docs:ON}%{?!docs:OFF} \
-DOCIO_BUILD_TESTS=%{?tests:ON}%{?!tests:OFF} \
-DOCIO_PYGLUE_SONAME=OFF \
-DUSE_EXTERNAL_YAML=TRUE \