svn commit: r1923452 - /subversion/trunk/CMakeLists.txt

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <[email protected]>
Author: rinrab
Date: Wed Jan 29 18:57:44 2025
New Revision: 1923452

URL: http://svn.apache.org/viewvc?rev=1923452&view=rev
Log:
CMake: Enable support for MSVC runtime library selection by abstraction
if supported by CMake.

* CMakeLists.txt
  (CMP0091): Enable policy if exists.

Modified:
    subversion/trunk/CMakeLists.txt

Modified: subversion/trunk/CMakeLists.txt
URL: http://svn.apache.org/viewvc/subversion/trunk/CMakeLists.txt?rev=1923452&r1=1923451&r2=1923452&view=diff
==============================================================================
--- subversion/trunk/CMakeLists.txt (original)
+++ subversion/trunk/CMakeLists.txt Wed Jan 29 18:57:44 2025
@@ -56,6 +56,12 @@ if(POLICY CMP0086)
   cmake_policy(SET CMP0086 NEW)
 endif()
 
+# Enable support for MSVC runtime library selection by abstraction
+# if supported by CMake.
+if(POLICY CMP0091)
+  cmake_policy(SET CMP0091 NEW)
+endif()
+
 read_version(
   "subversion/include/svn_version.h" SVN_VERSION
   SVN_VER_MAJOR SVN_VER_MINOR SVN_VER_PATCH
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.