]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cmake fix: build civetweb with the right include path. 7825/head
authorMarcus Watts <mwatts@redhat.com>
Sat, 27 Feb 2016 07:34:14 +0000 (02:34 -0500)
committerMarcus Watts <mwatts@redhat.com>
Sat, 27 Feb 2016 07:34:14 +0000 (02:34 -0500)
commit86718592c0c5595446d2d5b3baf95e30c972160f
treecd887f3ecd43c1848564a85f4f9ba07c1fadf877
parentaaa0f6fa7798879160fb8685aef88d53ea8c7435
cmake fix: build civetweb with the right include path.

In an earlier commit, civetweb.c got moved into a separate cmake 'object'
library civetweb_common_objs so that it could be built just once for use
with several different targets.  At the time, there was a separate global
"include_directory" to give the right include path for including "civetweb.h".
A later commit in master created an rgw_a library, and restricted civetweb.h's
include path for only building rgw_a objects.  So, as the product of
these these two commits, the target_include_directories command for the
civetweb include path now needs to be applied to civetweb_common_objs
and not rgw_a.

Signed-off-by: Marcus Watts <mwatts@redhat.com>
src/CMakeLists.txt