From e0a25289db50390e92723d6e2298d10f2270ca8a Mon Sep 17 00:00:00 2001 From: Grace Karanja Date: Thu, 4 Jun 2015 13:31:03 +0300 Subject: Add QMLManager to the cmake Build the QMLManager class when compiling for mobile. Signed-off-by: Grace Karanja Signed-off-by: Dirk Hohndel --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index b602a4793..96fa7edff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -423,9 +423,10 @@ endif() # create the executables if(SUBSURFACE_MOBILE) + set(MOBILE_SRC qt-mobile/qmlmanager.cpp) add_definitions(-DSUBSURFACE_MOBILE) qt5_add_resources(MOBILE_RESOURCES qt-mobile/mobile-resources.qrc) - add_executable(subsurface-mobile ${SUBSURFACE_PKG} ${SUBSURFACE_APP} ${SUBSURFACE_RESOURCES} ${MOBILE_RESOURCES}) + add_executable(subsurface-mobile ${MOBILE_SRC} ${SUBSURFACE_PKG} ${SUBSURFACE_APP} ${SUBSURFACE_RESOURCES} ${MOBILE_RESOURCES}) target_link_libraries( subsurface-mobile subsurface_generated_ui -- cgit v1.2.3-70-g09d2