Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! Update third party dependencies to…
Browse files Browse the repository at this point in the history
… vcpkg
  • Loading branch information
jherico committed Feb 13, 2024
1 parent 5db80f3 commit e0de5db
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ cmake_minimum_required(VERSION 3.16)

include(${CMAKE_CURRENT_SOURCE_DIR}/bldsys/cmake/ezvcpkg.cmake)
set(VCPKG_LIBRARY_LINKAGE static)
if (CMAKE_SYSTEM_NAME STREQUAL "Android")
set(VCPKG_TARGET_TRIPLET "arm64-android")
endif()
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
set(VCPKG_PACKAGES catch2 cli11 fmt glm glslang imgui spdlog spirv-cross stb tinygltf vulkan-memory-allocator)
if ((NOT (CMAKE_SYSTEM_NAME STREQUAL "Android")) AND (NOT (VKB_WSI_SELECTION STREQUAL D2D)))
list(APPEND VCPKG_PACKAGES glfw3)
Expand All @@ -45,10 +49,6 @@ ezvcpkg_fetch(
)

project(vulkan_samples)

set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")

list(PREPEND CMAKE_PREFIX_PATH ${EZVCPKG_DIR} ${EZVCPKG_DIR}/share)
find_package(VulkanMemoryAllocator CONFIG REQUIRED)
find_package(glm CONFIG REQUIRED)
find_package(fmt CONFIG REQUIRED)
Expand Down

0 comments on commit e0de5db

Please sign in to comment.