boost
abseil-cpp
protobuf
或者直接使用apt
等包管理工具安装对应平台的预编译包cmake -Bbuild -DCMAKE_INSTALL_PREFIX=/your/install/path -DCMAKE_PREFIX_PATH=/your/install/path -DBUILD_TESTING=OFF
cmake --build build -j$(nproc)
cmake --install build
# in CMakeList.txt
find_package(babylon REQUIRED)
babylon::babylon
# in CMakeList.txt
target_link_libraries(your_target babylon::babylon)
cmake -Bbuild -DCMAKE_PREFIX_PATH=/your/install/path
cmake --build build -j$(nproc)
cmake --install build