Skip to content

Commit

Permalink
CMake: Remove XMLLIB_INCLUDE_DIR because we are using Imported CMake …
Browse files Browse the repository at this point in the history
…targets

and include directories are set automatically.

git-svn-id: https://svn.apache.org/repos/asf/apr/apr-util/branches/1.7.x@1920651 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Ivan Zhakov committed Sep 14, 2024
1 parent 0cef730 commit ba244be
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,8 @@ CONFIGURE_FILE(include/apu_want.hw
COPYONLY)

IF(APU_USE_EXPAT)
SET(XMLLIB_INCLUDE_DIR)
SET(XMLLIB_LIBRARIES expat::expat)
ELSE()
SET(XMLLIB_INCLUDE_DIR)
SET(XMLLIB_LIBRARIES LibXml2::LibXml2)
ENDIF()

Expand All @@ -119,7 +117,7 @@ SET(APR_INCLUDE_DIRECTORIES
${APR_INCLUDE_DIR}
)

INCLUDE_DIRECTORIES(${APR_INCLUDE_DIRECTORIES} ${XMLLIB_INCLUDE_DIR})
INCLUDE_DIRECTORIES(${APR_INCLUDE_DIRECTORIES})

SET(APR_PUBLIC_HEADERS_STATIC
include/apr_anylock.h
Expand Down

0 comments on commit ba244be

Please sign in to comment.