diff options
author | Joshua Duong <joshuaduong@google.com> | 2022-10-21 09:49:07 -0700 |
---|---|---|
committer | Joshua Duong <joshuaduong@google.com> | 2022-10-24 08:48:33 -0700 |
commit | b50ca45d8befa23f4184deb70835225bb0c7038a (patch) | |
tree | 153cc5fcab464c25379f9630fbc6e2e9cf7e7716 /build-config | |
parent | 3349241c4b87099678c5c926e5553ff66be66e38 (diff) | |
download | aemu-b50ca45d8befa23f4184deb70835225bb0c7038a.tar.gz |
Enable standalone/pkgconfig build for aemu_common.
Bug: 246990929
Test: mkdir build && cd build && \
CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake \
-DCMAKE_INSTALL_PREFIX=$PWD/../install \
-DAEMU_COMMON_GEN_PKGCONFIG=ON -DAEMU_COMMON_BUILD_CONFIG=gfxstream . \
../ && make -j && make install
Change-Id: I576159672ea3769cec0330be0ab08c24abdbaba8
Diffstat (limited to 'build-config')
-rw-r--r-- | build-config/gfxstream/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build-config/gfxstream/CMakeLists.txt b/build-config/gfxstream/CMakeLists.txt index 7b238d6..a72c79a 100644 --- a/build-config/gfxstream/CMakeLists.txt +++ b/build-config/gfxstream/CMakeLists.txt @@ -1,3 +1,7 @@ +set(BUILD_STANDALONE ON PARENT_SCOPE) +set(GFXSTREAM_BASE_LIB aemu-base PARENT_SCOPE) +set(GFXSTREAM_HOST_COMMON_LIB aemu-host-common PARENT_SCOPE) + # aemu-base overrides: # - aemu-base-srcs: aemu-base source files # - aemu-base-test-srcs: aemu-base test source files |