Skip to content

Commit 2c090ea

Browse files
dennisamelingdscho
authored andcommitted
cmake(install): include vcpkg dlls
Signed-off-by: Dennis Ameling <[email protected]>
1 parent a6594b8 commit 2c090ea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

contrib/buildsystems/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ if(WIN32)
5858

5959
# In the vcpkg edition, we need this to be able to link to libcurl
6060
set(CURL_NO_CURL_CMAKE ON)
61+
62+
# Copy the necessary vcpkg DLLs (like iconv) to the install dir
63+
set(X_VCPKG_APPLOCAL_DEPS_INSTALL ON)
64+
set(CMAKE_TOOLCHAIN_FILE ${VCPKG_DIR}/scripts/buildsystems/vcpkg.cmake CACHE STRING "Vcpkg toolchain file")
6165
endif()
6266

6367
find_program(SH_EXE sh PATHS "C:/Program Files/Git/bin")

0 commit comments

Comments
 (0)