You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ri...@apache.org on 2024/07/05 21:54:16 UTC

svn commit: r1918954 - /subversion/branches/cmake/CMakeLists.txt

Author: rinrab
Date: Fri Jul  5 21:54:16 2024
New Revision: 1918954

URL: http://svn.apache.org/viewvc?rev=1918954&view=rev
Log:
On the 'cmake' branch: Always use Expat in config mode instead of module.

* CMakeLists.txt
  (expat finding): Use CONFIG instead of MODULE and make the expat name
   lowercase because it is lowercase in config mode.

Modified:
    subversion/branches/cmake/CMakeLists.txt

Modified: subversion/branches/cmake/CMakeLists.txt
URL: http://svn.apache.org/viewvc/subversion/branches/cmake/CMakeLists.txt?rev=1918954&r1=1918953&r2=1918954&view=diff
==============================================================================
--- subversion/branches/cmake/CMakeLists.txt (original)
+++ subversion/branches/cmake/CMakeLists.txt Fri Jul  5 21:54:16 2024
@@ -104,8 +104,8 @@ add_library(external-zlib ALIAS ZLIB::ZL
 
 ### EXPAT
 
-find_package(EXPAT MODULE REQUIRED)
-add_library(external-xml ALIAS EXPAT::EXPAT)
+find_package(expat CONFIG REQUIRED)
+add_library(external-xml ALIAS expat::expat)
 
 ### LZ4