From 3465b5e1569d4b94443c88dae041601575406bb9 Mon Sep 17 00:00:00 2001 From: Henri Menke Date: Thu, 17 Mar 2022 17:41:55 +0100 Subject: [PATCH] Small fixes for rare build failures (#9) * fix: add missing header for size_t * fix: link against gtest --- gftools/eval_expression.hpp | 1 + test/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gftools/eval_expression.hpp b/gftools/eval_expression.hpp index 70dd84e..caea08c 100644 --- a/gftools/eval_expression.hpp +++ b/gftools/eval_expression.hpp @@ -2,6 +2,7 @@ #include #include +#include //#include "tuple_tools.hpp" // only for debug diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 803ddf3..a341c98 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -26,6 +26,6 @@ grid_object_test foreach (test ${tests}) set(test_src ${test}.cpp) add_executable(${test} ${test_src}) - target_link_libraries(${test} gtest_main gftools) + target_link_libraries(${test} gtest gtest_main gftools) add_test(${test} ${test}) endforeach(test)