X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=CMakeLists.txt;h=069ccd898b8be8501434840c16db3c28325b1750;hp=733bfe1f114865e7bac88851130b1b312c69e014;hb=aff5174622cf79c6d42c0adbcb9ddbafdf1b96d1;hpb=a4ef39937e784acf7b8a1039bbd353b559c40233 diff --git a/CMakeLists.txt b/CMakeLists.txt index 733bfe1f..069ccd89 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,6 +64,10 @@ if(ENABLE_DECODE) list(APPEND PKGDEPS libsigrokdecode>=0.3.0) endif() +if(ANDROID) + list(APPEND PKGDEPS libsigrokandroidutils>=0.1.0) +endif() + find_package(PkgConfig) pkg_check_modules(PKGDEPS REQUIRED ${PKGDEPS}) @@ -243,12 +247,6 @@ if(ENABLE_DECODE) pv/widgets/decodergroupbox.h pv/widgets/decodermenu.h ) - - if(ANDROID) - list(APPEND pulseview_SOURCES - android/envsetup.cpp - ) - endif() endif() if(WIN32)