svn commit: r1920395 - in /apr/apr-util/branches/1.7.x: ./ CMakeLists.txt
| Newsgroups | gmane.comp.apache.apr.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: ivan
Date: Mon Sep 2 11:58:52 2024
New Revision: 1920395
URL: http://svn.apache.org/viewvc?rev=1920395&view=rev
Log:
Merged r1905416 apr/trunk:
CMakeLists.txt: Enable support for MSVC runtime library selection by
abstraction if supported by CMake.
Modified:
apr/apr-util/branches/1.7.x/ (props changed)
apr/apr-util/branches/1.7.x/CMakeLists.txt
Propchange: apr/apr-util/branches/1.7.x/
------------------------------------------------------------------------------
Merged /apr/apr/trunk:r1905416
Modified: apr/apr-util/branches/1.7.x/CMakeLists.txt
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.7.x/CMakeLists.txt?rev=1920395&r1=1920394&r2=1920395&view=diff
==============================================================================
--- apr/apr-util/branches/1.7.x/CMakeLists.txt (original)
+++ apr/apr-util/branches/1.7.x/CMakeLists.txt Mon Sep 2 11:58:52 2024
@@ -21,6 +21,12 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
PROJECT(APR-Util C)
+# Enable support for MSVC runtime library selection by abstraction
+# if supported by CMake.
+IF(POLICY CMP0091)
+ CMAKE_POLICY(SET CMP0091 NEW)
+ENDIF()
+
FIND_PACKAGE(EXPAT)
FIND_PACKAGE(LibXml2)
FIND_PACKAGE(OpenSSL)