Skip to content

Commit

Permalink
💚 修复 cache:true 下的构建错误
Browse files Browse the repository at this point in the history
  • Loading branch information
BTMuli committed Apr 15, 2024
1 parent 9d6568d commit 8f6d54e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions windows/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()

0 comments on commit 8f6d54e

Please sign in to comment.