svn commit: r1920653 - /apr/apr-util/branches/1.7.x/CMakeLists.txt

[email protected]
Newsgroups gmane.comp.apache.apr.cvs
Message-ID <[email protected]>
Author: ivan
Date: Sat Sep 14 18:45:53 2024
New Revision: 1920653

URL: http://svn.apache.org/viewvc?rev=1920653&view=rev
Log:
CMake: Do not set XML_STATIC compile definition because expat::expat imported
targets sets it automatically if needed.

Modified:
    apr/apr-util/branches/1.7.x/CMakeLists.txt

Modified: apr/apr-util/branches/1.7.x/CMakeLists.txt
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.7.x/CMakeLists.txt?rev=1920653&r1=1920652&r2=1920653&view=diff
==============================================================================
--- apr/apr-util/branches/1.7.x/CMakeLists.txt (original)
+++ apr/apr-util/branches/1.7.x/CMakeLists.txt Sat Sep 14 18:45:53 2024
@@ -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>)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.