Commit 6db9e2c2 authored by Andreas Cord-Landwehr's avatar Andreas Cord-Landwehr
Browse files

Link to KConfig.

parent 019df1d8
......@@ -28,7 +28,6 @@ set(learnerprofile_LIB_SRCS
learninggoal.cpp
profilemanager.cpp
storage.cpp
models/learninggoalmodel.cpp
)
......@@ -38,6 +37,8 @@ target_link_libraries(
artikulatelearnerprofile
LINK_PUBLIC
Qt5::Core
Qt5::Gui
KF5::Config
)
set_target_properties(
......
......@@ -25,7 +25,6 @@
#include <QFileInfo>
#include <QPixmap>
#include <QDebug>
#include <KGlobal>
using namespace LearnerProfile;
......
......@@ -31,6 +31,8 @@ find_package(KDeclarative REQUIRED)
# set config files after packages are searched
configure_file("${artikulate_SOURCE_DIR}/version.h.cmake" "${artikulate_BINARY_DIR}/version.h" @ONLY)
set (CMAKE_CXX_FLAGS "-fexceptions") #FIXME workaround: build with exceptions as required by qtgstreamer
add_subdirectory(qml)
# set include directories
......@@ -72,6 +74,7 @@ target_link_libraries(artikulatecore
LINK_PRIVATE
artikulatelearnerprofile
artikulatesound
KF5::Config
${KDECLARATIVE_LIBRARIES}
${KDE4_KIO_LIBS}
${QT_QTDECLARATIVE_LIBRARY}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment