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

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <[email protected]>
Author: rinrab
Date: Thu Aug  8 17:25:36 2024
New Revision: 1919756

URL: http://svn.apache.org/viewvc?rev=1919756&view=rev
Log:
On the 'cmake' branch: Create empty external-swig INTERFACE library.

Some swig-lib targets links against this target, so the best solution to
prevent that is to declare this target, but leave without any modifications. 

* CMakeLists.txt
  (swig): Use add_library command to create the external-swig INTERFACE
   library target.

Modified:
    subversion/branches/cmake/CMakeLists.txt

Modified: subversion/branches/cmake/CMakeLists.txt
URL: http://svn.apache.org/viewvc/subversion/branches/cmake/CMakeLists.txt?rev=1919756&r1=1919755&r2=1919756&view=diff
==============================================================================
--- subversion/branches/cmake/CMakeLists.txt (original)
+++ subversion/branches/cmake/CMakeLists.txt Thu Aug  8 17:25:36 2024
@@ -255,6 +255,8 @@ if(SVN_ENABLE_SWIG_PERL OR SVN_ENABLE_SW
     ${CMAKE_CURRENT_SOURCE_DIR}/subversion/include
     ${CMAKE_CURRENT_BINARY_DIR}
   )
+
+  add_library(external-swig INTERFACE)
 endif()
 
 function(target_exports target_name)
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.