added include

This commit is contained in:
Orange
2025-04-05 13:20:18 +03:00
parent 7b712ed960
commit 55085604fd
2 changed files with 3 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ project(omath VERSION 1.0.1 LANGUAGES CXX)
include(CMakePackageConfigHelpers)
option(OMATH_BUILD_TESTS "Build unit tests" OFF)
option(OMATH_BUILD_TESTS "Build unit tests" ON)
option(OMATH_THREAT_WARNING_AS_ERROR "Set highest level of warnings and force compiler to treat them as errors" ON)
option(OMATH_BUILD_AS_SHARED_LIBRARY "Build Omath as .so or .dll" OFF)
option(OMATH_USE_AVX2 "Omath will use AVX2 to boost performance" ON)

View File

@@ -4,8 +4,10 @@
#include "omath/projectile_prediction/proj_pred_engine_avx2.hpp"
#include "source_location"
#if defined(OMATH_USE_AVX2) && defined(__i386__) && defined(__x86_64__)
#include <immintrin.h>
#include <format>
#endif
namespace omath::projectile_prediction