apache /
serf /
c1e66abf99936e450333fc61d99e10b15a6b9110 In CMake, add interface properties to the targets so that upstream users
can guess the needed include dirs and link libraries from target properties.
* CMakeLists.txt:
Do not set global include_directories and APR_CFLAGS.
(SERF_DEPENDENCY_INCLUDES): Renamed from DEPENDENCY_INCLUDES.
(SERF_INTERFACE_INCLUDES): Split from SERF_DEPENDENCY_INCLUDES.
(SERF_DEPENDENCY_LIBRARIES: Renamed from DEPENDENCY_LIBRARIES.
(serf_shared): Target renamed from 'serf'.
(serf_shared, serf_static): Set public, interface and private include
directories and link libraries.
* test/CMakeLists.txt
(${SIMPLE_TEST_TARGETS}): Ignore dependency libraries, depend on the
serf_static target properties instead.
(test_all): Likewise; also, use private properties for OpenSSL, etc.
include directories and the MOCKHTTP_OPENSSL definition.
git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1835104 13f79535-47bb-0310-9956-ffa450edef68
2 files changed