Skip to content

Commit

Permalink
[FIX] header test
Browse files Browse the repository at this point in the history
  • Loading branch information
eseiler committed Nov 17, 2023
1 parent af4cbf5 commit 52929b0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions include/hibf/sketch/hyperloglog.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <vector> // for vector

#include <hibf/contrib/aligned_allocator.hpp> // for aligned_allocator
#include <hibf/platform.hpp>

namespace seqan::hibf::sketch
{
Expand Down
4 changes: 2 additions & 2 deletions test/header/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,6 @@ endmacro ()
CPMGetPackage (benchmark)
CPMGetPackage (googletest)

# note: hibf/version.hpp is one of the only header that is not required to have a hibf/core/platform.hpp include
hibf_header_test (hibf "${HIBF_SOURCE_DIR}/include" "hibf/version.hpp|hibf/contrib|hibf/")
# note: hibf/version.hpp is one of the only header that is not required to have a hibf/platform.hpp include
hibf_header_test (hibf "${HIBF_SOURCE_DIR}/include" "hibf/version.hpp|hibf/contrib")
hibf_header_test (hibf_test "${HIBF_SOURCE_DIR}/test/include" "hibf/test/iterator_test_template.hpp")
2 changes: 1 addition & 1 deletion test/hibf-test.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ if (NOT TARGET hibf::test::header)
add_library (hibf_test_header INTERFACE)
target_link_libraries (hibf_test_header INTERFACE "hibf::test::unit")
target_link_libraries (hibf_test_header INTERFACE "hibf::test::performance")
target_compile_options (hibf_test_header INTERFACE "-Wno-unused-function")
target_compile_options (hibf_test_header INTERFACE "-Wno-unused-function" "-Wno-unused-const-variable")
target_compile_definitions (hibf_test_header INTERFACE -DHIBF_DISABLE_DEPRECATED_WARNINGS)
target_compile_definitions (hibf_test_header INTERFACE -DHIBF_HEADER_TEST)
add_library (hibf::test::header ALIAS hibf_test_header)
Expand Down

0 comments on commit 52929b0

Please sign in to comment.