You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
313 B
18 lines
313 B
3 years ago
|
if(NOT CMAKE_ANDROID_NDK_TOOLCHAIN_UNIFIED)
|
||
|
return()
|
||
|
endif()
|
||
|
|
||
|
find_library(LIBDL dl)
|
||
|
if(NOT LIBDL)
|
||
|
message(FATAL_ERROR "libdl not found.")
|
||
|
endif()
|
||
|
|
||
|
if(LIBDL MATCHES ".a$")
|
||
|
message(FATAL_ERROR "found libdl.a")
|
||
|
endif()
|
||
|
|
||
|
find_program(CLANG clang)
|
||
|
if(NOT CLANG)
|
||
|
message(FATAL_ERROR "clang not found")
|
||
|
endif()
|