Externals: Find and build cpu-features for cryptopp on android
This commit is contained in:
parent
2b768da531
commit
cee7c0baa5
2 changed files with 64 additions and 0 deletions
6
externals/cryptopp/CMakeLists.txt
vendored
6
externals/cryptopp/CMakeLists.txt
vendored
|
@ -242,3 +242,9 @@ target_include_directories(cryptopp INTERFACE .)
|
|||
|
||||
find_package(Threads)
|
||||
target_link_libraries(cryptopp PRIVATE ${CMAKE_THREAD_LIBS_INIT})
|
||||
|
||||
if(ANDROID)
|
||||
include(AndroidNdkModules)
|
||||
android_ndk_import_module_cpufeatures()
|
||||
target_link_libraries(cryptopp PRIVATE cpufeatures)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue