test excluded for android

This commit is contained in:
2024-11-15 17:14:19 +03:00
parent c67f7a2b64
commit f6b9131f4a

View File

@@ -483,6 +483,7 @@ if (NOT CROSSTOOLS)
# libmicrohttpd # libmicrohttpd
find_library(microhttpd_LIBRARIES microhttpd HINTS "${MINGW_LIB}") find_library(microhttpd_LIBRARIES microhttpd HINTS "${MINGW_LIB}")
set(microhttpd_FOUND FALSE)
if (microhttpd_LIBRARIES) if (microhttpd_LIBRARIES)
set(microhttpd_FOUND TRUE) set(microhttpd_FOUND TRUE)
set(_microhttpd_add_libs microhttpd) set(_microhttpd_add_libs microhttpd)
@@ -517,6 +518,8 @@ if (NOT CROSSTOOLS)
#add_library(pip_plugin SHARED "test_plugin.h" "test_plugin.cpp" "ccm.h" "ccm.cpp") #add_library(pip_plugin SHARED "test_plugin.h" "test_plugin.cpp" "ccm.h" "ccm.cpp")
#target_link_libraries(pip_plugin pip) #target_link_libraries(pip_plugin pip)
if (NOT DEFINED ANDROID_PLATFORM)
if(microhttpd_FOUND)
add_executable(pip_test "main.cpp") add_executable(pip_test "main.cpp")
target_link_libraries(pip_test pip pip_io_utils pip_client_server pip_http_server) target_link_libraries(pip_test pip pip_io_utils pip_client_server pip_http_server)
if(sodium_FOUND) if(sodium_FOUND)
@@ -524,6 +527,8 @@ if (NOT CROSSTOOLS)
target_link_libraries(pip_cloud_test pip_cloud) target_link_libraries(pip_cloud_test pip_cloud)
endif() endif()
endif() endif()
endif()
endif()
else() else()
pip_module(crypt "" "PIP crypt support" "" "" "") pip_module(crypt "" "PIP crypt support" "" "" "")