mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-05 13:39:58 +01:00
Fixed export project db (added SQLite3 in cmake)
This commit is contained in:
@@ -86,12 +86,15 @@ add_executable(
|
|||||||
${QET_DIR}/qelectrotech.qrc
|
${QET_DIR}/qelectrotech.qrc
|
||||||
)
|
)
|
||||||
|
|
||||||
|
find_package(SQLite3 REQUIRED)
|
||||||
|
|
||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
${PROJECT_NAME}
|
${PROJECT_NAME}
|
||||||
PUBLIC
|
PUBLIC
|
||||||
PRIVATE
|
PRIVATE
|
||||||
pugixml::pugixml
|
pugixml::pugixml
|
||||||
SingleApplication::SingleApplication
|
SingleApplication::SingleApplication
|
||||||
|
SQLite::SQLite3
|
||||||
${KF6_PRIVATE_LIBRARIES}
|
${KF6_PRIVATE_LIBRARIES}
|
||||||
${QET_PRIVATE_LIBRARIES}
|
${QET_PRIVATE_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -29,4 +29,4 @@ add_definitions(-DQET_ALLOW_OVERRIDE_CD_OPTION)
|
|||||||
add_definitions(-DQET_ALLOW_OVERRIDE_DD_OPTION)
|
add_definitions(-DQET_ALLOW_OVERRIDE_DD_OPTION)
|
||||||
|
|
||||||
#comment the line below to disable the project database export
|
#comment the line below to disable the project database export
|
||||||
#add_definitions(-DQET_EXPORT_PROJECT_DB) #error Todo
|
add_definitions(-DQET_EXPORT_PROJECT_DB)
|
||||||
|
|||||||
Reference in New Issue
Block a user