Skip to content

Commit

Permalink
Merged r1905416 apr/trunk:
Browse files Browse the repository at this point in the history
CMakeLists.txt: Enable support for MSVC runtime library selection by
abstraction if supported by CMake.

git-svn-id: https://svn.apache.org/repos/asf/apr/apr-util/branches/1.7.x@1920395 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Ivan Zhakov committed Sep 2, 2024
1 parent 520bb4d commit 83d0dfb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 83d0dfb

Please sign in to comment.