X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=CMakeLists.txt;h=069ccd898b8be8501434840c16db3c28325b1750;hp=733bfe1f114865e7bac88851130b1b312c69e014;hb=300fc11ea8ec416b31c7dbc3d3d52277af24d1b7;hpb=9137928c9a711ff6d7bf25c9627236d3c61f069e 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)