From 68d66a847c71888434e7a3cf286ae14754c68171 Mon Sep 17 00:00:00 2001 From: Ilya Orlov Date: Tue, 23 Oct 2018 23:38:02 +0300 Subject: [PATCH] xrAICore: remove AI_COMPILER --- src/xrAICore/CMakeLists.txt | 2 +- src/xrAICore/Components/problem_solver_inline.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 \