Update CMakeLists.txt

This commit is contained in:
tooomm 2025-05-29 21:02:17 +02:00 committed by GitHub
parent 63d2bcc622
commit 181989ff79
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -319,6 +319,8 @@ elseif(WIN32)
# Include liblzma.dll into the package
# install(FILES "${CMAKE_SOURCE_DIR}/vcpkg_installed/x64-windows/bin/liblzma.dll" DESTINATION ./)
install(FILES "${CMAKE_SOURCE_DIR}/vcpkg_installed/x64-windows/bin/liblzma.dll"
DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
# Make sure vcpkg's toolchain is in use and lzma is available as a target
# find_package(lzma CONFIG REQUIRED)