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