Skip to content

Commit 3f7f2f8

Browse files
committed
feat: automatically install runtimes for conan
1 parent d700613 commit 3f7f2f8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/PackageProject.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,9 @@ function(package_project)
258258
${FILE_SET_ARGS}
259259
)
260260
set(runtime_dirs)
261+
if(CONAN_RUNTIME_LIB_DIRS)
262+
list(APPEND runtime_dirs ${CONAN_RUNTIME_LIB_DIRS})
263+
endif()
261264
if(VCPKG_INSTALLED_DIR)
262265
list(APPEND runtime_dirs
263266
"${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}$<$<CONFIG:Debug>:/debug>/bin"

0 commit comments

Comments
 (0)