Last (hopefully) cmake fix
@@ -8,7 +8,7 @@ set(CMAKE_CXX_STANDARD 11)
string(REPLACE "/lib/android_build/maesdk/src/main/cpp" "" SDK_ROOT ${CMAKE_SOURCE_DIR})
-if (${USE_CURL})
+if (USE_CURL)
add_definitions(-DHAVE_MAT_CURL_HTTP_CLIENT)
find_package(CURL REQUIRED)
endif()
@@ -76,9 +76,9 @@ set(SRCS
)
-if (${USE_CURL})
+if (USE_CURL)
list(APPEND SRCS ${SDK_ROOT}/lib/http/HttpClient_Curl.cpp)
-elseif()
+else()
list(APPEND SRCS ${SDK_ROOT}/lib/http/HttpClient_Android.cpp)
endif()
