From 8f6d54ebea07b3eb1a49440bef2ba486d75f169b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=AE=E6=A3=83?= Date: Mon, 15 Apr 2024 17:53:01 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20=E4=BF=AE=E5=A4=8D=20cache:true?= =?UTF-8?q?=20=E4=B8=8B=E7=9A=84=E6=9E=84=E5=BB=BA=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- windows/CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/windows/CMakeLists.txt b/windows/CMakeLists.txt index f7a9293..75d590d 100644 --- a/windows/CMakeLists.txt +++ b/windows/CMakeLists.txt @@ -119,6 +119,9 @@ if(NOT Sqlite) endif() message("extracting sqlite3.dll") execute_process(COMMAND ${CMAKE_COMMAND} -E tar xvf sqlite3.zip sqlite3.dll WORKING_DIRECTORY ${PROJECT_BUILD_DIR}) + message("installing sqlite3.dll") + install(FILES "${PROJECT_BUILD_DIR}/sqlite3.dll" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" COMPONENT Runtime) endif() -message("installing sqlite3.dll") -install(FILES "${PROJECT_BUILD_DIR}/sqlite3.dll" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" COMPONENT Runtime) +if (Sqlite) + message("sqlite3.dll found") +endif () \ No newline at end of file