summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre GRANDIN <grandinp@altern.org>2015-07-19 15:49:27 -0700
committerPierre GRANDIN <grandinp@altern.org>2015-07-19 15:49:27 -0700
commit2f0fdf71375be83eabd48bfb8dc021cb2e7e1c6c (patch)
tree8ff877674ff390e5d266ce487725e0e4868a942b
parent4a390c9a46c82bdd8ed230768c47c7a9b5ab31d7 (diff)
downloadnavit-2f0fdf71375be83eabd48bfb8dc021cb2e7e1c6c.tar.gz
Moving ci/toolchain-arm-linux.cmake to cmake/
-rw-r--r--cmake/toolchain-arm-linux.cmake13
1 files changed, 13 insertions, 0 deletions
diff --git a/cmake/toolchain-arm-linux.cmake b/cmake/toolchain-arm-linux.cmake
new file mode 100644
index 000000000..a9cb20d02
--- /dev/null
+++ b/cmake/toolchain-arm-linux.cmake
@@ -0,0 +1,13 @@
+set ( CMAKE_SYSTEM_NAME GNU )
+
+# specify the cross compiler
+find_program ( CMAKE_C_COMPILER NAMES arm-linux-gcc )
+find_program ( CMAKE_CXX_COMPILER NAMES arm-linux-g++ )
+
+set ( TOMTOM_SDK_DIR /opt/tomtom-sdk )
+set ( CMAKE_FIND_ROOT_PATH ${TOMTOM_SDK_DIR} )
+
+set ( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER )
+set ( CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY )
+set ( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY )
+set ( CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY )