Add ankerl unordered_dense map/set implementations
This commit is contained in:
1
3rdParty/CMakeLists.txt
vendored
1
3rdParty/CMakeLists.txt
vendored
@@ -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)
|
||||
|
||||
14
3rdParty/ankerl-unordered_dense/CMakeLists.txt
vendored
Normal file
14
3rdParty/ankerl-unordered_dense/CMakeLists.txt
vendored
Normal file
@@ -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)
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user