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

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <[email protected]>
Author: rinrab
Date: Wed Sep  4 13:59:12 2024
New Revision: 1920466

URL: http://svn.apache.org/viewvc?rev=1920466&view=rev
Log:
On the 'cmake' branch: Write error that shared RA modules are unavailable only
when compiling on Windows, because it is possible to do on Linux.

* CMakeLists.txt
  (options): Adjust the check and error message to prevent shared RA
   modules only on Windows platform.

Modified:
    subversion/branches/cmake/CMakeLists.txt

Modified: subversion/branches/cmake/CMakeLists.txt
URL: http://svn.apache.org/viewvc/subversion/branches/cmake/CMakeLists.txt?rev=1920466&r1=1920465&r2=1920466&view=diff
==============================================================================
--- subversion/branches/cmake/CMakeLists.txt (original)
+++ subversion/branches/cmake/CMakeLists.txt Wed Sep  4 13:59:12 2024
@@ -159,8 +159,8 @@ else()
   set(SVN_RA_BUILD_TYPE STATIC)
 endif()
 
-if(SVN_BUILD_SHARED_RA)
-  message(FATAL_ERROR "SVN_BUILD_SHARED_RA not yet supported")
+if(SVN_BUILD_SHARED_RA AND WIN32)
+  message(FATAL_ERROR "SVN_BUILD_SHARED_RA not yet supported on Windows")
 endif()
 
 if(SVN_ENABLE_FS_BASE)
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.