Skip to content

Commit

Permalink
Also use vcpkg in combinaiton with conan on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
alxvth committed Oct 10, 2024
1 parent 35a0a31 commit 6076125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.17)

set(MV_EXAMPLES_USE_VCPKG OFF)
if(DEFINED CMAKE_TOOLCHAIN_FILE AND CMAKE_TOOLCHAIN_FILE MATCHES "vcpkg")
if(DEFINED VCPKG_TARGET_TRIPLET)
set(MV_EXAMPLES_USE_VCPKG ON)
set(VCPKG_LIBRARY_LINKAGE "dynamic" CACHE STRING "Link vcpkg libraries dynamically")
endif()
Expand Down

0 comments on commit 6076125

Please sign in to comment.