Debian Codegraph @

Tests/RunCMake/Android/ndk-search-order.cmake

raw
1 if(NOT CMAKE_ANDROID_NDK_TOOLCHAIN_UNIFIED)
2 return()
3 endif()
4
5 find_library(LIBDL dl)
6 if(NOT LIBDL)
7 message(FATAL_ERROR "libdl not found.")
8 endif()
9
10 if(LIBDL MATCHES ".a$")
11 message(FATAL_ERROR "found libdl.a")
12 endif()
13
14 find_program(CLANG clang)
15 if(NOT CLANG)
16 message(FATAL_ERROR "clang not found")
17 endif()