Commit e19e8be8 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau Committed by Dennis Nienhüser

Fix link library call scope

o5mreader dependency is independent of ECM/KDE. Fixes plugin loading
on Android.
parent 3c5448b5
......@@ -33,7 +33,7 @@ set( osm_SRCS
)
marble_add_plugin( OsmPlugin ${osm_SRCS} ${osm_writers_SRCS} ${osm_translators_SRCS} )
target_link_libraries(OsmPlugin o5mreader)
find_package(ECM ${REQUIRED_ECM_VERSION} QUIET)
if(NOT ECM_FOUND)
......@@ -49,8 +49,6 @@ if(NOT KF5_FOUND)
return()
endif()
target_link_libraries(OsmPlugin o5mreader)
# register marble part as handler
# install again once part is fixed to load and show the passed file
# install(FILES marble_part_osm.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment