CMake: enable machine_tuple also on GNU/Hurd
On the Hurd there is the standard GCC toolchain, so it is possible to query GCC for -dumpmachine. Change-Id: Idc8e80c0937147a8ea656bc0320a83d647278455 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
a844695e64
commit
0a41399c2d
@ -1090,7 +1090,7 @@ function(qt_config_compile_test_x86simd extension label)
|
|||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
function(qt_config_compile_test_machine_tuple label)
|
function(qt_config_compile_test_machine_tuple label)
|
||||||
if(DEFINED TEST_MACHINE_TUPLE OR NOT LINUX OR ANDROID)
|
if(DEFINED TEST_MACHINE_TUPLE OR NOT (LINUX OR HURD) OR ANDROID)
|
||||||
return()
|
return()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user