Remove unneeded check, this is the not-android branch already

parent 8f5166f4
......@@ -60,7 +60,7 @@ if (CMAKE_SYSTEM_NAME STREQUAL Android)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/deploy-behaim.json DESTINATION "${CMAKE_INSTALL_PREFIX}/share")
install(TARGETS ${TARGET} LIBRARY DESTINATION libs/${ANDROID_ABI})
else()
if(CMAKE_SYSTEM_NAME STREQUAL Android OR MARBLE_INSTALL_ANDROID_APPS)
if(MARBLE_INSTALL_ANDROID_APPS)
install(TARGETS ${TARGET} RUNTIME DESTINATION bin)
endif()
endif()
......@@ -60,7 +60,7 @@ if (CMAKE_SYSTEM_NAME STREQUAL Android)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/deploy-marble-maps.json DESTINATION "${CMAKE_INSTALL_PREFIX}/share")
install(TARGETS ${TARGET} LIBRARY DESTINATION libs/${ANDROID_ABI})
else()
if(CMAKE_SYSTEM_NAME STREQUAL Android OR MARBLE_INSTALL_ANDROID_APPS)
if(MARBLE_INSTALL_ANDROID_APPS)
if(APPS_INSTALL_DIR)
install(PROGRAMS org.kde.marble.maps.desktop DESTINATION ${APPS_INSTALL_DIR})
endif(APPS_INSTALL_DIR)
......
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