Skip to content

Commit

Permalink
Fixed missing zlib header files when SEAL_BUILD_DEPS and SEAL_BUILD_S…
Browse files Browse the repository at this point in the history
…HARED are both on.
  • Loading branch information
Wei Dai committed Feb 12, 2021
1 parent bd0685b commit 67669e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,8 @@ else()

if(SEAL_USE_ZLIB)
target_link_libraries(seal_shared PRIVATE ${zlib})
target_include_directories(seal_shared PRIVATE $<BUILD_INTERFACE:${zlib_SOURCE_DIR}>)
target_include_directories(seal_shared PRIVATE $<BUILD_INTERFACE:$<TARGET_PROPERTY:${zlib},BINARY_DIR>>)
endif()

if(SEAL_USE_ZSTD)
Expand Down

0 comments on commit 67669e8

Please sign in to comment.