Add SQLite profile repository and Qt SQL dependency
This commit is contained in:
@@ -10,18 +10,20 @@ set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_AUTOUIC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
|
||||
find_package(Qt6 6.2 REQUIRED COMPONENTS Widgets)
|
||||
find_package(Qt6 6.2 REQUIRED COMPONENTS Widgets Sql)
|
||||
|
||||
qt_standard_project_setup()
|
||||
|
||||
add_executable(orbithub
|
||||
src/main.cpp
|
||||
src/profile_repository.cpp
|
||||
src/profile_repository.h
|
||||
src/profiles_window.cpp
|
||||
src/profiles_window.h
|
||||
src/session_window.cpp
|
||||
src/session_window.h
|
||||
)
|
||||
|
||||
target_link_libraries(orbithub PRIVATE Qt6::Widgets)
|
||||
target_link_libraries(orbithub PRIVATE Qt6::Widgets Qt6::Sql)
|
||||
|
||||
install(TARGETS orbithub RUNTIME DESTINATION bin)
|
||||
|
||||
Reference in New Issue
Block a user