diff --git a/src/xrAICore/CMakeLists.txt b/src/xrAICore/CMakeLists.txt index 3ff9686bada..01c1f3d90ad 100644 --- a/src/xrAICore/CMakeLists.txt +++ b/src/xrAICore/CMakeLists.txt @@ -23,7 +23,7 @@ include_directories( # endif() #endforeach() -add_definitions(-DXRAICORE_EXPORTS -DAI_COMPILER -D_SECURE_SCL=0) +add_definitions(-DXRAICORE_EXPORTS) add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}__SOURCES} ${${PROJECT_NAME}__INCLUDES}) set_target_properties(${PROJECT_NAME} PROPERTIES COTIRE_CXX_PREFIX_HEADER_INIT "pch.hpp") diff --git a/src/xrAICore/Components/problem_solver_inline.h b/src/xrAICore/Components/problem_solver_inline.h index d20fb8bb2d3..6ee7ed3e249 100644 --- a/src/xrAICore/Components/problem_solver_inline.h +++ b/src/xrAICore/Components/problem_solver_inline.h @@ -10,6 +10,7 @@ #ifndef AI_COMPILER #include "xrAICore/Navigation/graph_engine.h" +#include "xrAICore/Navigation/graph_engine_space.h" #endif #define TEMPLATE_SPECIALIZATION \