← Back to team overview

ubuntu-touch-coreapps-reviewers team mailing list archive

[Merge] lp:~ahayzen/ubuntu-weather-app/fix-duplicate-resources into lp:ubuntu-weather-app

 

Andrew Hayzen has proposed merging lp:~ahayzen/ubuntu-weather-app/fix-duplicate-resources into lp:ubuntu-weather-app.

Commit message:
* Set UBUNTU-WEATHER_APP_DIR so that resources are duplicated in snap mode

Requested reviews:
  Ubuntu Weather Developers (ubuntu-weather-dev)

For more details, see:
https://code.launchpad.net/~ahayzen/ubuntu-weather-app/fix-duplicate-resources/+merge/314621

* Set UBUNTU-WEATHER_APP_DIR so that resources are duplicated in snap mode
-- 
Your team Ubuntu Weather Developers is requested to review the proposed merge of lp:~ahayzen/ubuntu-weather-app/fix-duplicate-resources into lp:ubuntu-weather-app.
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt	2016-01-06 03:06:55 +0000
+++ CMakeLists.txt	2017-01-12 14:00:23 +0000
@@ -69,6 +69,7 @@
     DESTINATION ${CMAKE_INSTALL_BINDIR})
   set(DESKTOP_DIR ${CMAKE_INSTALL_DATADIR}/applications)
   set(URLS_DIR ${CMAKE_INSTALL_DATADIR}/url-dispatcher/urls)
+  set(UBUNTU-WEATHER_APP_DIR "${DATA_DIR}/app")
 endif(CLICK_MODE)
 
 if(${CLICK_MODE})