Skip to content

Commit c452a68

Browse files
authored
Disabled Policy CMP0068 if it exists. It's warning outputs are contributing to large logs. (#14763)
1 parent 2a3d4cb commit c452a68

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
cmake_minimum_required(VERSION 3.4.3)
22

3+
# TODO: Fix RPATH usage to be CMP0068 compliant
4+
# Disable Policy CMP0068 for CMake 3.9
5+
# rdar://37725888
6+
if(POLICY CMP0068)
7+
cmake_policy(SET CMP0068 OLD)
8+
endif()
9+
310
# Add path for custom CMake modules.
411
list(APPEND CMAKE_MODULE_PATH
512
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")

0 commit comments

Comments
 (0)