mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-20 19:00:22 +08:00
9 lines
359 B
CMake
9 lines
359 B
CMake
if(ANDROID)
|
|
find_package(${QV_QT_LIBNAME} COMPONENTS AndroidExtras REQUIRED)
|
|
list(APPEND QV2RAY_PLATFORM_SOURCES
|
|
${CMAKE_SOURCE_DIR}/src/platforms/android/QvVPNService.hpp
|
|
${CMAKE_SOURCE_DIR}/src/platforms/android/QvVPNService.cpp
|
|
)
|
|
list(APPEND QV2RAY_PLATFORM_LIBS ${QV_QT_LIBNAME}::AndroidExtras -llog -landroid)
|
|
endif()
|