]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: remove unneeded C++ from cython build
authorJosh Durgin <jdurgin@redhat.com>
Wed, 30 Mar 2016 18:22:24 +0000 (11:22 -0700)
committerJosh Durgin <jdurgin@redhat.com>
Wed, 30 Mar 2016 20:20:28 +0000 (13:20 -0700)
commit68ce9a9166a0d7f044c908944cf10368ac5a9bbb
treef0ea88294e8d340e054508afacee7f977d1ee00c
parent6f8596fc01e85dd2acf15f0f3289ec79255fd103
cmake: remove unneeded C++ from cython build

It looks like the unnecessary internal include dirs in the cephfs
cmake file were the reason language="c++" was added to pybind. The
system utime.h was being aliased by ceph's include/utime.h. Fix this
by using -iquote instead of -I, to only add ceph's include dir as a
search path for quoted #includes, not sytem headers. The automake
build already uses -iquote here.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
src/pybind/cephfs/CMakeLists.txt
src/pybind/rados/CMakeLists.txt
src/pybind/rbd/CMakeLists.txt