summaryrefslogtreecommitdiff
path: root/navit/CMakeLists.txt
diff options
context:
space:
mode:
authorwoglinde <woglinde@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-08-18 09:40:58 +0000
committerwoglinde <woglinde@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-08-18 09:40:58 +0000
commit761db5ff18f3b206ef436a244b013a64c9963b8d (patch)
tree8794bcadf5ff1c1560b6da6092f2c66476d1fc8c /navit/CMakeLists.txt
parenta1caa978e9f38ba4cd866b9fcee4a5a4d6beeea8 (diff)
downloadnavit-761db5ff18f3b206ef436a244b013a64c9963b8d.tar.gz
Fix:Build:Use android subdir only when building for android, closes partly ticket#832
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4686 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/CMakeLists.txt')
-rw-r--r--navit/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/navit/CMakeLists.txt b/navit/CMakeLists.txt
index 43a17ddfa..09de78130 100644
--- a/navit/CMakeLists.txt
+++ b/navit/CMakeLists.txt
@@ -138,7 +138,9 @@ endif()
add_subdirectory (maptool)
add_subdirectory (xpm)
add_subdirectory (maps)
-add_subdirectory (android)
+if(ANDROID)
+ add_subdirectory (android)
+endif()
install(TARGETS navit
DESTINATION ${BIN_DIR}