Skip to content

Commit

Permalink
feat: automatically install runtimes for conan
Browse files Browse the repository at this point in the history
  • Loading branch information
FeignClaims committed Sep 18, 2024
1 parent d700613 commit 3f7f2f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/PackageProject.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,9 @@ function(package_project)
${FILE_SET_ARGS}
)
set(runtime_dirs)
if(CONAN_RUNTIME_LIB_DIRS)
list(APPEND runtime_dirs ${CONAN_RUNTIME_LIB_DIRS})
endif()
if(VCPKG_INSTALLED_DIR)
list(APPEND runtime_dirs
"${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}$<$<CONFIG:Debug>:/debug>/bin"
Expand Down

0 comments on commit 3f7f2f8

Please sign in to comment.