diff --git a/CMakeLists.txt b/CMakeLists.txt index f085da1..c573287 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,7 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) find_package(EnTT CONFIG REQUIRED) +find_package(flecs CONFIG REQUIRED) find_package(glm CONFIG REQUIRED) find_package(nlohmann_json CONFIG REQUIRED) find_package(glfw3 REQUIRED) @@ -49,6 +50,7 @@ target_link_libraries( stb glfw EnTT::EnTT + flecs::flecs spdlog::spdlog glm::glm fx-gltf::fx-gltf diff --git a/apps/fall-fever/controller.cpp b/apps/fall-fever/controller.cpp index 302924a..fb11bb8 100644 --- a/apps/fall-fever/controller.cpp +++ b/apps/fall-fever/controller.cpp @@ -8,6 +8,7 @@ #include "window/window.h" #include +#include using namespace entt::literals; diff --git a/vcpkg.json b/vcpkg.json index 34a82aa..64a598e 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -8,6 +8,7 @@ "cxxopts", "entt", "fmt", + "fx-gltf", { "name": "glfw3", "features": [ @@ -17,7 +18,8 @@ "glm", "nlohmann-json", "spdlog", - "fx-gltf" + "fx-gltf", + "flecs" ], "builtin-baseline": "c14d62387153eaa2d720113542dbde2e9754ee71" }