diff options
author | Stefan Wildemann <gta04@metalstrolche.de> | 2017-04-10 22:58:43 +0200 |
---|---|---|
committer | Stefan Wildemann <gta04@metalstrolche.de> | 2017-04-10 22:58:43 +0200 |
commit | 96476b1c97df57f323af16bb3987f12cd8bed494 (patch) | |
tree | 9a210f22cde489fed2096778f915a483a9040516 | |
parent | 411e3548185133997aa01573ac89fb96835a5a71 (diff) | |
download | navit-allow_unusual_building.tar.gz |
Fix: correctly check if NAVIT_BINARY is definedallow_unusual_building
-rw-r--r-- | navit/xpm/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/xpm/CMakeLists.txt b/navit/xpm/CMakeLists.txt index 096d76ff0..c9153839a 100644 --- a/navit/xpm/CMakeLists.txt +++ b/navit/xpm/CMakeLists.txt @@ -66,8 +66,8 @@ macro(add_scale_targets IMAGE_SRC IMAGE_NAME) endforeach() endmacro() -if(NOT DEFINED ${NAVIT_BINARY}) - set(NAVIT_BINARY navit) +if(NOT DEFINED NAVIT_BINARY) + set(NAVIT_BINARY navit CACHE STRING "Navit binary name not defined") endif() #patch binary name in desktop file configure_file(desktop_icons/navit.desktop.in desktop_icons/${PACKAGE}.desktop) |