aboutsummaryrefslogtreecommitdiff
path: root/cmake/modules/FindPCRE.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/FindPCRE.cmake')
-rw-r--r--cmake/modules/FindPCRE.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/FindPCRE.cmake b/cmake/modules/FindPCRE.cmake
index d499feedcb..3ef52a2f25 100644
--- a/cmake/modules/FindPCRE.cmake
+++ b/cmake/modules/FindPCRE.cmake
@@ -211,6 +211,7 @@ if(NOT PCRE::pcre)
if(_multiconfig_generator)
if(NOT TARGET pcre)
buildPCRE()
+ set_target_properties(pcre PROPERTIES EXCLUDE_FROM_ALL TRUE)
endif()
add_dependencies(build_internal_depends pcre)
endif()