Skip to content

Commit

Permalink
fix build error when Qt isn't found
Browse files Browse the repository at this point in the history
Test: build (with and without Qt).
Issue: saebyn#30
Signed-off-by: Gluttton <[email protected]>
  • Loading branch information
Gluttton committed Nov 5, 2022
1 parent ef2779f commit f4fb6bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/matrix_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@ struct TypeHolder
using matrix_type = M <X>;
};

#if QT5_FOUND == 1
template <typename T>
using matrix_qt33 = munkres_cpp::matrix_qt <T, 3, 3>;
#endif

template <typename T> class MunkresTest : public ::testing::Test {};
typedef ::testing::Types <
Expand Down

0 comments on commit f4fb6bd

Please sign in to comment.