Skip to content

Commit

Permalink
add zlib to CMakeLists of libarchfpga as a requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
soheilshahrouz committed Jan 18, 2025
1 parent 46ab2bf commit 98fcb30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions libs/libarchfpga/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ target_link_libraries(libarchfpga

if(${VTR_ENABLE_CAPNPROTO})
target_link_libraries(libarchfpga libvtrcapnproto)
find_package(ZLIB REQUIRED)
target_link_libraries(libarchfpga ZLIB::ZLIB)
target_compile_definitions(libarchfpga PRIVATE VTR_ENABLE_CAPNPROTO)
endif()

Expand Down
2 changes: 1 addition & 1 deletion libs/libvtrutil/src/vtr_strong_id.h
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ class StrongId {
///@brief != operator
friend constexpr bool operator!= <>(const StrongId<tag, T, sentinel>& lhs, const StrongId<tag, T, sentinel>& rhs);
///@brief < operator
friend constexpr bool operator< <>(const StrongId<tag, T, sentinel>& lhs, const StrongId<tag, T, sentinel>& rhs);
friend constexpr bool operator< <>(const StrongId<tag, T, sentinel>& lhs, const StrongId<tag, T, sentinel>& rhs) noexcept;

/**
* @brief to be able to print them out
Expand Down

0 comments on commit 98fcb30

Please sign in to comment.