mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Enable googlemaps plugin from build directory on Linux
With this change, when running Subsurface from the build directory, it should find a googlemaps plugin that was installed into the install_root. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
12ea31ef78
commit
2acdb32e83
1 changed files with 6 additions and 0 deletions
|
@ -480,6 +480,12 @@ elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
|||
if(NOT NO_MARBLE)
|
||||
install(DIRECTORY marbledata/maps DESTINATION share/subsurface/data)
|
||||
install(DIRECTORY marbledata/bitmaps DESTINATION share/subsurface/data)
|
||||
else()
|
||||
add_custom_target(link_googlemaps_plugin ALL COMMAND
|
||||
rm -rf ./geoservices &&
|
||||
mkdir -p geoservices &&
|
||||
ln -sf
|
||||
${CMAKE_SOURCE_DIR}/../install-root/usr/lib/qt/plugins/geoservices/libqtgeoservices_googlemaps.so ${CMAKE_BINARY_DIR}/geoservices)
|
||||
endif()
|
||||
install(FILES subsurface.debug DESTINATION bin)
|
||||
install(FILES subsurface.desktop DESTINATION share/applications)
|
||||
|
|
Loading…
Reference in a new issue