Fixed export project db (added SQLite3 in cmake)

This commit is contained in:
Magnus Hellströmer
2024-09-08 23:13:32 +02:00
parent 27899c48a3
commit 40abc3892c
2 changed files with 4 additions and 1 deletions

View File

@@ -86,12 +86,15 @@ add_executable(
${QET_DIR}/qelectrotech.qrc
)
find_package(SQLite3 REQUIRED)
target_link_libraries(
${PROJECT_NAME}
PUBLIC
PRIVATE
pugixml::pugixml
SingleApplication::SingleApplication
SQLite::SQLite3
${KF6_PRIVATE_LIBRARIES}
${QET_PRIVATE_LIBRARIES}
)

View File

@@ -29,4 +29,4 @@ add_definitions(-DQET_ALLOW_OVERRIDE_CD_OPTION)
add_definitions(-DQET_ALLOW_OVERRIDE_DD_OPTION)
#comment the line below to disable the project database export
#add_definitions(-DQET_EXPORT_PROJECT_DB) #error Todo
add_definitions(-DQET_EXPORT_PROJECT_DB)