修改 CollisionDetector.cpp 和 CMakeLists.txt
This commit is contained in:
parent
f22a30398f
commit
f708628c22
@ -32,7 +32,12 @@ set(Boost_NO_WARN_NEW_VERSIONS 1)
|
||||
set(Boost_USE_STATIC_LIBS OFF)
|
||||
set(Boost_USE_MULTITHREADED ON)
|
||||
set(Boost_USE_STATIC_RUNTIME OFF)
|
||||
find_package(Boost REQUIRED COMPONENTS system filesystem thread)
|
||||
if(NOT APPLE)
|
||||
# 在 CentOS 上使用 Boost 1.69
|
||||
set(BOOST_ROOT "/usr/include/boost169")
|
||||
set(BOOST_LIBRARYDIR "/usr/lib64/boost169")
|
||||
endif()
|
||||
find_package(Boost 1.69.0 REQUIRED COMPONENTS system filesystem thread)
|
||||
|
||||
# 添加 libcurl
|
||||
find_package(CURL REQUIRED)
|
||||
|
||||
@ -3,7 +3,6 @@
|
||||
#include "utils/Logger.h"
|
||||
#include "config/SystemConfig.h"
|
||||
#include <cmath>
|
||||
#include <format>
|
||||
#include <unordered_set>
|
||||
|
||||
CollisionDetector::CollisionDetector(const AirportBounds& bounds, const ControllableVehicles& controllableVehicles)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user