Skip to content

Commit d8d1a94

Browse files
fix linker error: added find_package SQLite3 to CMakeLists.txt
1 parent bb0d8a1 commit d8d1a94

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ set(CMAKE_C_STANDARD_REQUIRED 99)
66

77
set(CMAKE_AUTOMOC ON)
88
find_package(Qt6 REQUIRED COMPONENTS Widgets Gui Core)
9+
find_package(SQLite3 REQUIRED)
910

1011
set(RUST_BACKEND_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/back_end)
1112

@@ -35,6 +36,7 @@ target_link_libraries(
3536
PRIVATE Qt6::Widgets
3637
PRIVATE Qt6::Core
3738
PRIVATE Qt6::Gui
39+
PRIVATE SQLite::SQLite3
3840
PRIVATE ${RUST_BACKEND_LIB}
3941
)
4042

0 commit comments

Comments
 (0)