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. */