diff --git a/CMakeLists.txt b/CMakeLists.txt index aa7e6103..465a9be5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,13 +1,15 @@ cmake_minimum_required(VERSION 3.14 FATAL_ERROR) -project(libpressio VERSION "0.6.0" LANGUAGES CXX C) +project(libpressio VERSION "0.6.1" LANGUAGES CXX C) enable_testing() set(CMAKE_EXPORT_COMPILE_COMMANDS ON) include(GNUInstallDirs) -find_package(ZFP) -find_package(PkgConfig) -pkg_search_module(SZ IMPORTED_TARGET GLOBAL sz) +find_package(ZFP REQUIRED) +find_package(SZ REQUIRED) +find_package(ZLIB REQUIRED) +find_package(PkgConfig REQUIRED) +pkg_search_module(ZSTD IMPORTED_TARGET GLOBAL libzstd) set(LIBPRESSIO_FEATURES "sz zfp") @@ -71,7 +73,7 @@ target_include_directories(libpressio PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/include ) target_compile_options(libpressio PRIVATE $<$: -Wall -Werror -Wextra -Wpedantic>) -target_link_libraries(libpressio PUBLIC zfp::zfp PkgConfig::SZ) +target_link_libraries(libpressio PUBLIC zfp::zfp SZ) set_target_properties(libpressio PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON) install(TARGETS libpressio EXPORT LibPressioConfig diff --git a/include/libpressio_ext/compressors/sz.h b/include/libpressio_ext/compressors/sz.h index c57d07cb..0a1b1d3b 100644 --- a/include/libpressio_ext/compressors/sz.h +++ b/include/libpressio_ext/compressors/sz.h @@ -1,4 +1,4 @@ /** \file * \brief Includes definitions needed to use the SZ pressio compressor */ -#include +#include diff --git a/src/plugins/compressors/sz_plugin.cc b/src/plugins/compressors/sz_plugin.cc index ed099583..d6ff9fd4 100644 --- a/src/plugins/compressors/sz_plugin.cc +++ b/src/plugins/compressors/sz_plugin.cc @@ -1,7 +1,7 @@ #include #include -#include +#include #include "libpressio_ext/cpp/compressor.h" #include "pressio_data.h" diff --git a/test/test_sz_plugin.cc b/test/test_sz_plugin.cc index 55515903..d267387d 100644 --- a/test/test_sz_plugin.cc +++ b/test/test_sz_plugin.cc @@ -1,4 +1,4 @@ -#include +#include #include "gtest/gtest.h" #include "gmock/gmock.h"