You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
target_include_directories(VkLayer_utils PUBLIC . ${API_TYPE})
83
83
84
-
find_package(robin_hood CONFIG)
85
-
option(USE_ROBIN_HOOD_HASHING "robin_hood provides faster versions of std::unordered_map and std::unordered_set"${robin_hood_FOUND})
86
84
if (USE_ROBIN_HOOD_HASHING)
87
-
target_link_libraries(VkLayer_utils PUBLIC robin_hood::robin_hood)
88
-
target_compile_definitions(VkLayer_utils PUBLIC USE_ROBIN_HOOD_HASHING)
85
+
message(WARNING "Option USE_ROBIN_HOOD_HASHING has been deprecated. Use USE_CUSTOM_HASH_MAP instead.")
86
+
endif ()
87
+
88
+
find_package(unordered_dense CONFIG)
89
+
option(USE_CUSTOM_HASH_MAP "Use a custom hash map (unordered_dense). It provides faster versions of std::unordered_map and std::unordered_set"${unordered_dense_FOUND})
90
+
if (USE_CUSTOM_HASH_MAP)
91
+
target_link_libraries(VkLayer_utils PUBLIC unordered_dense::unordered_dense)
92
+
target_compile_definitions(VkLayer_utils PUBLIC USE_CUSTOM_HASH_MAP)
89
93
endif()
90
94
91
95
# Using mimalloc on non-Windows OSes currently results in unit test instability with some
0 commit comments