aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-06-05 10:29:43 -0400
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-06-05 10:29:43 -0400
commit692926cb12c8f8e6d3969c249dbf924a0bd1499b (patch)
tree6cb2cb4324a92d25b3d71fd76d17650354e2114b /libqmenumodel
parent00885c1ddd04819c44d6a0ca2c7f2af8a1298a97 (diff)
downloadqmenumodel-692926cb12c8f8e6d3969c249dbf924a0bd1499b.tar.gz
qmenumodel-692926cb12c8f8e6d3969c249dbf924a0bd1499b.tar.bz2
qmenumodel-692926cb12c8f8e6d3969c249dbf924a0bd1499b.zip
Link against the qml module
Reverts r69, that was nonsense.
Diffstat (limited to 'libqmenumodel')
-rw-r--r--libqmenumodel/src/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/libqmenumodel/src/CMakeLists.txt b/libqmenumodel/src/CMakeLists.txt
index d1d19c9..a2a6177 100644
--- a/libqmenumodel/src/CMakeLists.txt
+++ b/libqmenumodel/src/CMakeLists.txt
@@ -36,7 +36,6 @@ set_target_properties(${SHAREDLIBNAME} PROPERTIES
)
include_directories(
- /usr/include/qt5/QtQml
${GLIB_INCLUDE_DIRS}
${GIO_INCLUDE_DIRS}
)
@@ -46,7 +45,7 @@ target_link_libraries(${SHAREDLIBNAME}
${GIO_LDFLAGS}
)
-qt5_use_modules(${SHAREDLIBNAME} Core)
+qt5_use_modules(${SHAREDLIBNAME} Core Qml)
install(TARGETS ${SHAREDLIBNAME} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})