build-system: Add CMakeLists.txt to map-widget

In order to make the central CMakeLists cleaner and more consistent
add a CMakeLists.txt to map-widget, like in other root directories.

Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
jan Iversen 2019-12-22 14:10:29 +01:00 committed by Dirk Hohndel
parent 41d6ff96c1
commit 74755b64b1
2 changed files with 11 additions and 1 deletions

View file

@ -0,0 +1,8 @@
# map widget to show locations
# library used by mobile build
set(SUBSURFACE_MAPWIDGET_SRCS
qmlmapwidgethelper.cpp
)
add_library(subsurface_mapwidget STATIC ${SUBSURFACE_MAPWIDGET_SRCS})
target_link_libraries(subsurface_mapwidget ${QT_LIBRARIES})