diff --git a/3rdParty/CMakeLists.txt b/3rdParty/CMakeLists.txt index e8b01bf..ecaba81 100644 --- a/3rdParty/CMakeLists.txt +++ b/3rdParty/CMakeLists.txt @@ -5,6 +5,7 @@ if (NOT ANDROID AND NOT IOS) add_subdirectory(glfw) add_subdirectory(ftxui) endif() +add_subdirectory(ankerl-unordered_dense) add_subdirectory(assimp) add_subdirectory(fmt) add_subdirectory(spdlog) diff --git a/3rdParty/ankerl-unordered_dense/CMakeLists.txt b/3rdParty/ankerl-unordered_dense/CMakeLists.txt new file mode 100644 index 0000000..130770f --- /dev/null +++ b/3rdParty/ankerl-unordered_dense/CMakeLists.txt @@ -0,0 +1,14 @@ +include(FetchContent) + +if(NOT DEFINED ANKERLUD_REPO) + set(ANKERLUD_REPO https://github.com/martinus/unordered_dense.git) +endif () + +FetchContent_Declare( + unordered_dense + EXCLUDE_FROM_ALL + GIT_REPOSITORY ${ANKERLUD_REPO} + GIT_TAG v4.4.0 + GIT_SHALLOW TRUE +) +FetchContent_MakeAvailable(unordered_dense) diff --git a/CMakeLists.txt b/CMakeLists.txt index e013e2f..59616c4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -94,7 +94,7 @@ endif() list(APPEND CMAKE_PREFIX_PATH ${CMAKE_BINARY_DIR}/deps/INSTALL) -target_link_libraries(openVulkanoCpp PRIVATE magic_enum yaml-cpp fmt spdlog glm pugixml stb eigen utf8cpp imgui_internal TracyClient stud-uuid ryml) +target_link_libraries(openVulkanoCpp PRIVATE magic_enum yaml-cpp fmt spdlog glm pugixml stb eigen utf8cpp imgui_internal TracyClient stud-uuid ryml unordered_dense) LinkCurl(openVulkanoCpp) add_compile_definitions(LIBARCHIVE_STATIC)