cmake: Add check_arm32_assembly function

This commit is contained in:
Hennadii Stepanov
2023-05-12 10:38:50 +01:00
parent e5cf4bf3ff
commit ed4ba238e2
3 changed files with 22 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
function(check_arm32_assembly)
try_compile(HAVE_ARM32_ASM
${CMAKE_BINARY_DIR}/check_arm32_assembly
SOURCES ${CMAKE_SOURCE_DIR}/cmake/source_arm32.s
)
endfunction()