Skip to content

Commit e6cf415

Browse files
committed
set cmake policy CMP0135
1 parent b86b6f6 commit e6cf415

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ message(STATUS "CMAKE VERSION ${CMAKE_VERSION}")
99
set(CMAKE_CXX_STANDARD 14)
1010
set(CMAKE_CXX_STANDARD_REQUIRED ON)
1111

12+
if(POLICY CMP0135)
13+
cmake_policy(SET CMP0135 NEW)
14+
endif(POLICY CMP0135)
15+
1216
# APR build options:
1317
option(APR_INSTALL "Install APR library" OFF)
1418
option(APR_BUILD_SHARED_LIB "Builds shared library" OFF)

0 commit comments

Comments
 (0)