From bc3df067376ea80232f57393e69c84a6e045212d Mon Sep 17 00:00:00 2001 From: Jon Siwek Date: Fri, 4 Sep 2020 16:41:46 -0700 Subject: [PATCH] Exclude installing "zeek -> ." include dir symlink The symlink only exists for use within the source-tree and isn't needed for the install-tree. --- src/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index eb08f69b21..eb94d4a728 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -467,6 +467,8 @@ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ PATTERN "*.h" PATTERN "*.pac" PATTERN "3rdparty/*" EXCLUDE + # The "zeek -> ." symlink isn't needed in the install-tree + REGEX "^${CMAKE_CURRENT_SOURCE_DIR}/zeek$" EXCLUDE ) install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/