summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-07-06 15:33:35 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-07-06 15:33:54 +0200
commit917fe201f2a6d810c8a05dc52881d67b7ba42664 (patch)
treedbb741428750258a36d57f51300afb4877bfd710
parentcbe565160d4d540d8c0cc611ecc8c752f122ca7b (diff)
hydra: fix cmake braino
-rw-r--r--tracker-hydra/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/tracker-hydra/CMakeLists.txt b/tracker-hydra/CMakeLists.txt
index 14c20020..e66209cd 100644
--- a/tracker-hydra/CMakeLists.txt
+++ b/tracker-hydra/CMakeLists.txt
@@ -27,9 +27,9 @@ if(SDK_HYDRA)
set(under-dll)
set(soext so)
set(plat linux)
- execute_process(COMMAND uname -m OUTPUT_VARIABLE architecture)
- string(REPLACE "\n" "" architecture ${architecture})
- if(architecture STREQUAL "x86_64")
+ if(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR
+ CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64"
+ )
set(six4 _x64)
else()
set(six4)