mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-16 15:32:15 -07:00
Update CMakeLists.txt
This commit is contained in:
parent
c40abb3918
commit
b64ef36e43
1 changed files with 7 additions and 7 deletions
|
|
@ -321,13 +321,13 @@ elseif(WIN32)
|
||||||
# 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 ./)
|
||||||
# install(FILES "${CMAKE_SOURCE_DIR}/vcpkg_installed/x64-windows/bin/liblzma.dll" DESTINATION "bin")
|
# install(FILES "${CMAKE_SOURCE_DIR}/vcpkg_installed/x64-windows/bin/liblzma.dll" DESTINATION "bin")
|
||||||
|
|
||||||
set(LIBLZMA_DLL "${CMAKE_SOURCE_DIR}/vcpkg_installed/x64-windows/bin/liblzma.dll")
|
# set(LIBLZMA_DLL "${CMAKE_SOURCE_DIR}/vcpkg_installed/x64-windows/bin/liblzma.dll")
|
||||||
|
#
|
||||||
if(EXISTS "${LIBLZMA_DLL}")
|
# if(EXISTS "${LIBLZMA_DLL}")
|
||||||
install(FILES "${LIBLZMA_DLL}" DESTINATION ./)
|
# install(FILES "${LIBLZMA_DLL}" DESTINATION ./)
|
||||||
else()
|
# else()
|
||||||
message(WARNING "liblzma.dll not found at ${LIBLZMA_DLL}, skipping DLL install.")
|
# message(WARNING "liblzma.dll not found at ${LIBLZMA_DLL}, skipping DLL install.")
|
||||||
endif()
|
# endif()
|
||||||
|
|
||||||
# Make sure vcpkg's toolchain is in use and lzma is available as a target
|
# Make sure vcpkg's toolchain is in use and lzma is available as a target
|
||||||
# find_package(lzma CONFIG REQUIRED)
|
# find_package(lzma CONFIG REQUIRED)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue