mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-06 06:05:40 +12:00
Replace android_ndk_import_module_cpufeatures macro with its declaration
This commit is contained in:
parent
fa9af4fb2e
commit
ab83fc1e71
1 changed files with 3 additions and 2 deletions
5
third_party/cryptopp/CMakeLists.txt
vendored
5
third_party/cryptopp/CMakeLists.txt
vendored
|
@ -443,7 +443,8 @@ find_package(Threads)
|
|||
target_link_libraries(cryptopp PRIVATE ${CMAKE_THREAD_LIBS_INIT})
|
||||
|
||||
if(ANDROID)
|
||||
include(AndroidNdkModules)
|
||||
android_ndk_import_module_cpufeatures()
|
||||
include_directories(${ANDROID_NDK}/sources/android/cpufeatures)
|
||||
add_library(cpufeatures ${ANDROID_NDK}/sources/android/cpufeatures/cpu-features.c)
|
||||
target_link_libraries(cpufeatures dl)
|
||||
target_link_libraries(cryptopp PRIVATE cpufeatures)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Reference in a new issue