summaryrefslogtreecommitdiffstats
path: root/ceph.spec.in
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@suse.de>2017-07-21 15:36:45 +0200
committerDavid Disseldorp <ddiss@suse.de>2017-07-21 16:05:54 +0200
commitf68add4f45ee6d465f6d179550847d22ed460df4 (patch)
treed88bb73623d0c2130797176ea0de891618633d7e /ceph.spec.in
parentMerge pull request #16475 from amitkumar50/branchAffliation (diff)
downloadceph-f68add4f45ee6d465f6d179550847d22ed460df4.tar.xz
ceph-f68add4f45ee6d465f6d179550847d22ed460df4.zip
cmake: use CMAKE_INSTALL_INCLUDEDIR
Header files are currently installed under a hardcoded "include" path. Use CMAKE_INSTALL_INCLUDEDIR instead, which defaults to "include" but allows for customisation alongside other (already used) CMAKE_INSTALL_X paths. Signed-off-by: David Disseldorp <ddiss@suse.de>
Diffstat (limited to 'ceph.spec.in')
-rw-r--r--ceph.spec.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/ceph.spec.in b/ceph.spec.in
index 0460a305947..c7ee62b90b7 100644
--- a/ceph.spec.in
+++ b/ceph.spec.in
@@ -824,6 +824,7 @@ cmake .. \
-DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir} \
-DCMAKE_INSTALL_MANDIR=%{_mandir} \
-DCMAKE_INSTALL_DOCDIR=%{_docdir}/ceph \
+ -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir} \
-DWITH_EMBEDDED=OFF \
-DWITH_MANPAGE=ON \
-DWITH_PYTHON3=ON \