Skip to content

Commit a14c784

Browse files
author
Mike McLaughlin
committed
Fix linux build breaks
1 parent 0eed02b commit a14c784

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
cmake_minimum_required(VERSION 3.15)
66

77
cmake_policy(SET CMP0042 NEW) # MACOSX_RPATH is enabled by default.
8-
cmake_policy(SET CMP0177 NEW) # install() paths are normalized
8+
if(CLR_CMAKE_HOST_WIN32)
9+
cmake_policy(SET CMP0177 NEW) # install() paths are normalized
10+
endif(CLR_CMAKE_HOST_WIN32)
911

1012
# Set the project name
1113
project(diagnostics)

0 commit comments

Comments
 (0)