Skip to content

Commit 8f6d54e

Browse files
committed
💚 修复 cache:true 下的构建错误
1 parent 9d6568d commit 8f6d54e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

windows/CMakeLists.txt

+5-2
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ if(NOT Sqlite)
119119
endif()
120120
message("extracting sqlite3.dll")
121121
execute_process(COMMAND ${CMAKE_COMMAND} -E tar xvf sqlite3.zip sqlite3.dll WORKING_DIRECTORY ${PROJECT_BUILD_DIR})
122+
message("installing sqlite3.dll")
123+
install(FILES "${PROJECT_BUILD_DIR}/sqlite3.dll" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" COMPONENT Runtime)
122124
endif()
123-
message("installing sqlite3.dll")
124-
install(FILES "${PROJECT_BUILD_DIR}/sqlite3.dll" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" COMPONENT Runtime)
125+
if (Sqlite)
126+
message("sqlite3.dll found")
127+
endif ()

0 commit comments

Comments
 (0)