2019-07-12 16:54:26 +02:00
|
|
|
# Define the current source locations
|
|
|
|
SET(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include/db)
|
|
|
|
SET(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/db)
|
|
|
|
|
|
|
|
FILE ( GLOB DB_SOURCES "${CURRENT_HEADER_DIR}/*.h" "${CURRENT_SOURCE_DIR}/*.h" "${CURRENT_SOURCE_DIR}/*.cpp" )
|
|
|
|
|
|
|
|
add_library(database
|
|
|
|
${DB_SOURCES}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(database
|
|
|
|
hyperion
|
|
|
|
hyperion-utils
|
2021-11-16 18:12:56 +01:00
|
|
|
Qt${QT_VERSION_MAJOR}::Core
|
|
|
|
Qt${QT_VERSION_MAJOR}::Sql
|
2019-07-12 16:54:26 +02:00
|
|
|
)
|