We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6227976 + 12143de commit a8fcb75Copy full SHA for a8fcb75
project/android/build.gradle
@@ -11,6 +11,8 @@ buildscript {
11
}
12
13
repositories {
14
+ google()
15
+ jcenter()
16
mavenLocal()
17
18
test/CMakeLists.txt
@@ -1,5 +1,9 @@
1
IF(MNN_BUILD_TEST)
2
- file(GLOB_RECURSE Files ${CMAKE_CURRENT_LIST_DIR}/*.cpp ${CMAKE_CURRENT_LIST_DIR}/*.mm)
+ if(APPLE)
3
+ file(GLOB_RECURSE Files ${CMAKE_CURRENT_LIST_DIR}/*.cpp ${CMAKE_CURRENT_LIST_DIR}/*.mm)
4
+ else()
5
+ file(GLOB_RECURSE Files ${CMAKE_CURRENT_LIST_DIR}/*.cpp)
6
+ endif()
7
add_executable(run_test.out ${Files})
8
target_link_libraries(run_test.out ${MNN_DEPS})
9
target_include_directories(run_test.out PRIVATE ${CMAKE_CURRENT_LIST_DIR}/)
0 commit comments