From 67669e893b4f037bafd218655b0488a732a4723d Mon Sep 17 00:00:00 2001 From: Wei Dai Date: Fri, 12 Feb 2021 14:33:04 -0800 Subject: [PATCH] Fixed missing zlib header files when SEAL_BUILD_DEPS and SEAL_BUILD_SHARED are both on. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a29ff42f7..1efceb8b2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -390,6 +390,8 @@ else() if(SEAL_USE_ZLIB) target_link_libraries(seal_shared PRIVATE ${zlib}) + target_include_directories(seal_shared PRIVATE $) + target_include_directories(seal_shared PRIVATE $>) endif() if(SEAL_USE_ZSTD)