Skip to content

Commit

Permalink
CMake: Do not set XML_STATIC compile definition because expat::expat …
Browse files Browse the repository at this point in the history
…imported

targets sets it automatically if needed.

git-svn-id: https://svn.apache.org/repos/asf/apr/apr-util/branches/1.7.x@1920653 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Ivan Zhakov committed Sep 14, 2024
1 parent ba244be commit 3f99544
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,6 @@ TARGET_LINK_LIBRARIES(libaprutil-1
PRIVATE ${XMLLIB_LIBRARIES} ${APU_EXTRA_LIBRARIES})
TARGET_INCLUDE_DIRECTORIES(libaprutil-1
PRIVATE ${APU_EXTRA_INCLUDE_DIRECTORIES})
TARGET_COMPILE_DEFINITIONS(libaprutil-1
PRIVATE "XML_STATIC")

IF(BUILD_SHARED_LIBS)
LIST(APPEND install_bin_pdb $<TARGET_PDB_FILE:libaprutil-1>)
Expand Down

0 comments on commit 3f99544

Please sign in to comment.