summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--polly/lib/External/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/External/CMakeLists.txt b/polly/lib/External/CMakeLists.txt
index eafb6be7619..4309929d1a1 100644
--- a/polly/lib/External/CMakeLists.txt
+++ b/polly/lib/External/CMakeLists.txt
@@ -343,5 +343,5 @@ endif ()
if(MSVC)
# In the Windows API (with some exceptions), the maximum length for a path is
# MAX_PATH, which is defined as 260 characters.
- target_compile_definitions(PollyPPCG PUBLIC "-DPATH_MAX=260")
+ target_compile_definitions(PollyPPCG PRIVATE "-DPATH_MAX=260")
endif ()
OpenPOWER on IntegriCloud