Add moodycamel concurrentqueue
This commit is contained in:
1
3rdParty/CMakeLists.txt
vendored
1
3rdParty/CMakeLists.txt
vendored
@@ -33,6 +33,7 @@ add_subdirectory(units)
|
||||
add_subdirectory(libjpeg-turbo)
|
||||
add_subdirectory(msdf)
|
||||
add_subdirectory(eastl)
|
||||
add_subdirectory(moodycamel_concurrentqueue)
|
||||
if (NOT IOS AND ENABLE_CURL)
|
||||
add_subdirectory(curl)
|
||||
endif()
|
||||
|
||||
15
3rdParty/moodycamel_concurrentqueue/CMakeLists.txt
vendored
Normal file
15
3rdParty/moodycamel_concurrentqueue/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
include(FetchContent)
|
||||
|
||||
if(NOT DEFINED MOODY_CONCURRENTQUEUE_REPO)
|
||||
set(MOODY_CONCURRENTQUEUE_REPO https://github.com/cameron314/concurrentqueue.git)
|
||||
endif ()
|
||||
|
||||
FetchContent_Declare(
|
||||
moodycamel_concurrentqueue
|
||||
EXCLUDE_FROM_ALL
|
||||
GIT_REPOSITORY ${MOODY_CONCURRENTQUEUE_REPO}
|
||||
GIT_TAG v1.0.4
|
||||
GIT_SHALLOW TRUE
|
||||
)
|
||||
FetchContent_MakeAvailable(moodycamel_concurrentqueue)
|
||||
|
||||
@@ -67,7 +67,7 @@ if (NOT ANDROID AND NOT IOS)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
target_link_libraries(openVulkanoCpp PUBLIC magic_enum yaml-cpp fmt spdlog glm pugixml stb eigen utf8cpp imgui_internal TracyClient stud-uuid ryml unordered_dense units)
|
||||
target_link_libraries(openVulkanoCpp PUBLIC magic_enum yaml-cpp fmt spdlog glm pugixml stb eigen utf8cpp imgui_internal TracyClient stud-uuid ryml unordered_dense concurrentqueue units)
|
||||
LinkAssimp(openVulkanoCpp)
|
||||
LinkLibArchive(openVulkanoCpp)
|
||||
LinkLibJpegTurbo(openVulkanoCpp)
|
||||
|
||||
Reference in New Issue
Block a user