mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-06 22:25:41 +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})
|
target_link_libraries(cryptopp PRIVATE ${CMAKE_THREAD_LIBS_INIT})
|
||||||
|
|
||||||
if(ANDROID)
|
if(ANDROID)
|
||||||
include(AndroidNdkModules)
|
include_directories(${ANDROID_NDK}/sources/android/cpufeatures)
|
||||||
android_ndk_import_module_cpufeatures()
|
add_library(cpufeatures ${ANDROID_NDK}/sources/android/cpufeatures/cpu-features.c)
|
||||||
|
target_link_libraries(cpufeatures dl)
|
||||||
target_link_libraries(cryptopp PRIVATE cpufeatures)
|
target_link_libraries(cryptopp PRIVATE cpufeatures)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Add table
Reference in a new issue