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/09/04 13:59:12 UTC

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

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)