Made path to VCPKG relative.

This commit is contained in:
NissimHadar 2018-10-30 12:05:41 -07:00
parent 67097194c3
commit 959c544fcd

View file

@ -57,10 +57,10 @@ if (WIN32)
)
# add a custom command to copy the SSL DLLs
add_custom_command(
add_custom_command(
TARGET ${TARGET_NAME}
POST_BUILD
COMMAND "${CMAKE_COMMAND}" -E copy_directory D:/GitHub/vcpkg/installed/x64-windows/bin "$<TARGET_FILE_DIR:${TARGET_NAME}>"
COMMAND "${CMAKE_COMMAND}" -E copy_directory "$ENV{VCPKG_ROOT}/installed/x64-windows/bin" "$<TARGET_FILE_DIR:${TARGET_NAME}>"
)
endif ()