Skip to content

Commit 98fcb30

Browse files
add zlib to CMakeLists of libarchfpga as a requirement
1 parent 46ab2bf commit 98fcb30

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

libs/libarchfpga/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ target_link_libraries(libarchfpga
2626

2727
if(${VTR_ENABLE_CAPNPROTO})
2828
target_link_libraries(libarchfpga libvtrcapnproto)
29+
find_package(ZLIB REQUIRED)
30+
target_link_libraries(libarchfpga ZLIB::ZLIB)
2931
target_compile_definitions(libarchfpga PRIVATE VTR_ENABLE_CAPNPROTO)
3032
endif()
3133

libs/libvtrutil/src/vtr_strong_id.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ class StrongId {
216216
///@brief != operator
217217
friend constexpr bool operator!= <>(const StrongId<tag, T, sentinel>& lhs, const StrongId<tag, T, sentinel>& rhs);
218218
///@brief < operator
219-
friend constexpr bool operator< <>(const StrongId<tag, T, sentinel>& lhs, const StrongId<tag, T, sentinel>& rhs);
219+
friend constexpr bool operator< <>(const StrongId<tag, T, sentinel>& lhs, const StrongId<tag, T, sentinel>& rhs) noexcept;
220220

221221
/**
222222
* @brief to be able to print them out

0 commit comments

Comments
 (0)