diff --git a/CHANGES.md b/CHANGES.md index 984ef0705..d1de4db74 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,7 @@ ## Version 3.6.2 +- Fixed an issue [(Issue 278)](https://github.com/microsoft/SEAL/issues/278) in finding ZLIB header files when building SEAL with `BUILD_SHARED_LIBS=ON`. - Fixed a member variable initialization order bug in [SafeByteBuffer](native/src/seal/util/streambuf.h). - Added benchmarks that depends on Google Benchmark in [native/bench](native/bench). - Changed low-level code that reduces the runtime difference among code generated by msvc, gcc, and clang. 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) diff --git a/native/bench/bench.cpp b/native/bench/bench.cpp index d02fbe208..1530280cd 100644 --- a/native/bench/bench.cpp +++ b/native/bench/bench.cpp @@ -14,6 +14,8 @@ namespace sealbench { /** Wraps benchmark::RegisterBenchmark to use microsecond and accepts std::string name. + Each benchmark runs for 10 rather than a dynamically chosen amount of iterations. + If more runs are needed for more accurate measurements, either remove line 26, or run benchmarks in repetition. */ #define SEAL_BENCHMARK_REGISTER(category, n, log_q, name, func, ...) \ RegisterBenchmark( \