diff options
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
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 |