summaryrefslogtreecommitdiffhomepage
path: root/tracker-hydra/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-hydra/CMakeLists.txt')
-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)