This is an automated email from the ASF dual-hosted git repository. scantor pushed a commit to branch xerces-3.3 in repository https://gitbox.apache.org/repos/asf/xerces-c.git
The following commit(s) were added to refs/heads/xerces-3.3 by this push: new caa95334f XERCESC-2246 - CMake target_include_directories caa95334f is described below commit caa95334f91db252a96376240f99cef396606319 Author: Scott Cantor <canto...@osu.edu> AuthorDate: Tue Sep 24 08:48:15 2024 -0400 XERCESC-2246 - CMake target_include_directories https://issues.apache.org/jira/browse/XERCESC-2246 --- src/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index aef3a76f9..fe336bafc 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1271,6 +1271,12 @@ set_target_properties(xerces-c-headers PROPERTIES FOLDER "Library") add_library(xerces-c ${libxerces_c_SOURCES} ${libxerces_c_RESOURCES}) +target_include_directories( + xerces-c + PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> + $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}> + $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}> +) target_link_libraries(xerces-c PRIVATE ${libxerces_c_DEPS}) if(XERCES_USE_NETACCESSOR_CURL) target_include_directories(xerces-c SYSTEM PRIVATE ${CURL_INCLUDE_DIRS}) --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org