From 8bae98385c0279a0fe51a6370e15fe52a9968895 Mon Sep 17 00:00:00 2001 From: Mark Koh Date: Mon, 19 Aug 2024 16:00:21 -0600 Subject: [PATCH] Try to fix windows tests --- cpp/Makefile | 2 +- cpp/src/E4M3.h | 1 + cpp/src/Enums.h | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cpp/Makefile b/cpp/Makefile index 02c3ab16..62b1dc73 100644 --- a/cpp/Makefile +++ b/cpp/Makefile @@ -9,7 +9,7 @@ build: cmake cmake --build ${BUILD_DIR} test: build - cmake --build ${BUILD_DIR} --target test + ctest --test-dir ${BUILD_DIR} clean: rm -rf ${BUILD_DIR}/* \ No newline at end of file diff --git a/cpp/src/E4M3.h b/cpp/src/E4M3.h index 37f6b523..ed241efd 100644 --- a/cpp/src/E4M3.h +++ b/cpp/src/E4M3.h @@ -21,6 +21,7 @@ #pragma once #include +#include static constexpr float ALL_E4M3_VALUES[256] = { 0, diff --git a/cpp/src/Enums.h b/cpp/src/Enums.h index 885dada4..b0f3377c 100644 --- a/cpp/src/Enums.h +++ b/cpp/src/Enums.h @@ -1,5 +1,7 @@ #pragma once +#include + /** * The space (i.e. distance metric) to use for searching. */