Skip to content

Commit

Permalink
[skipci] Update odrcore/1.0.0 patch
Browse files Browse the repository at this point in the history
  • Loading branch information
ViliusSutkus89 committed Jul 22, 2024
1 parent ffc82e9 commit fcee04f
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
--- CMakeLists.txt
+++ CMakeLists.txt 2024-07-22 14:35:52.630000000 +0300
@@ -82,6 +82,8 @@
+++ CMakeLists.txt 2024-07-22 14:56:00 +0300
@@ -82,6 +82,10 @@
FetchContent_GetProperties(cryptopp)
if(NOT cryptopp_POPULATED)
FetchContent_Populate(cryptopp)
+ file(COPY ${CMAKE_ANDROID_NDK}/sources/android/cpufeatures/cpu-features.c DESTINATION ${cryptopp_SOURCE_DIR})
+ file(COPY ${CMAKE_ANDROID_NDK}/sources/android/cpufeatures/cpu-features.h DESTINATION ${cryptopp_SOURCE_DIR})
+ if (DEFINED CMAKE_ANDROID_NDK)
+ file(COPY ${CMAKE_ANDROID_NDK}/sources/android/cpufeatures/cpu-features.c DESTINATION ${cryptopp_SOURCE_DIR})
+ file(COPY ${CMAKE_ANDROID_NDK}/sources/android/cpufeatures/cpu-features.h DESTINATION ${cryptopp_SOURCE_DIR})
+ endif (DEFINED CMAKE_ANDROID_NDK)
set(BUILD_TESTING OFF CACHE BOOL "" FORCE)
add_subdirectory(${cryptopp_SOURCE_DIR} ${cryptopp_BINARY_DIR} EXCLUDE_FROM_ALL)
endif()

0 comments on commit fcee04f

Please sign in to comment.