]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cmake: produce civetweb.h, again 12008/head
authorMatt Benjamin <mbenjamin@redhat.com>
Tue, 15 Nov 2016 22:43:16 +0000 (17:43 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Thu, 17 Nov 2016 18:49:14 +0000 (13:49 -0500)
commit53f6462a0133c693edfc2f959769978a8faf2fba
treef55807b20320865246c6915f03722fde451a2ae8
parent2c06ab400a1b359ca4d991300a55629816304b67
cmake: produce civetweb.h, again

The recent change to do this logic with file copy (and in src/rgw)
resolved the build problem, but now updates to the civetweb
submodule were not reflected in the build.

Move the copy into a custom target which will always source the
current submodule version at build time.

Avoid using the BYPRODUCTS option, as it is not supported in many
older cmake versions (e.g., Centos 7).

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/CMakeLists.txt