Try to fix msys2 packaging.

This commit is contained in:
Alexander Shaduri
2021-03-12 17:54:37 +04:00
parent 6039667556
commit 212bdb80f8
2 changed files with 28 additions and 11 deletions
+5 -5
View File
@@ -182,12 +182,12 @@ if (WIN32)
# Smartmontools
if ("$ENV{CI}")
# GitHub download location
# GitHub extract location. The files are extracted without relative paths in archive (7z e).
install(FILES
"${CMAKE_BINARY_DIR}/smartmontools/bin/drivedb.h"
"${CMAKE_BINARY_DIR}/smartmontools/bin/update-smart-drivedb.exe"
"${CMAKE_BINARY_DIR}/smartmontools/${SMARTCTL_EXTRACED_BIN_DIR}/smartctl-nc.exe"
"${CMAKE_BINARY_DIR}/smartmontools/${SMARTCTL_EXTRACED_BIN_DIR}/smartctl.exe"
"${CMAKE_BINARY_DIR}/smartmontools/drivedb.h"
"${CMAKE_BINARY_DIR}/smartmontools/update-smart-drivedb.exe"
"${CMAKE_BINARY_DIR}/smartmontools/smartctl-nc.exe"
"${CMAKE_BINARY_DIR}/smartmontools/smartctl.exe"
DESTINATION .
)
else()