summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAlex Reinking <reinking@google.com>2022-09-08 04:53:13 -0400
committerGitHub <noreply@github.com>2022-09-08 01:53:13 -0700
commit31604f8f62c4a83d9f89b3d07631de26fe9f1fba (patch)
treecf367367da6d334180cd582f23f3292ef9fef1a1 /.github
parente6443c1b7199ca17848ab2ae9b954a6ce63d1a65 (diff)
downloadwabt-31604f8f62c4a83d9f89b3d07631de26fe9f1fba.tar.gz
wabt-31604f8f62c4a83d9f89b3d07631de26fe9f1fba.tar.bz2
wabt-31604f8f62c4a83d9f89b3d07631de26fe9f1fba.zip
Create CMake package for wabt (#1980)
Allows users to install wabt to a local directory and use find_package to load the wabt and wasm-rt-impl libraries into their build. These users, as well as FetchContent users, may link to these libraries using, for example: find_package(wabt REQUIRED) target_link_libraries(myApp PRIVATE wabt::wabt) Note the wabt:: namespace.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index bc0ba143..47824eba 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -132,7 +132,7 @@ jobs:
- name: Detect minimum CMake version
run: >
awk 'match($0, /cmake_minimum_required\(VERSION *([0-9]+\.[0-9]+)\)/, a)
- { print "WABT_CMAKE_VER=" a[1] }' CMakeLists.txt | tee $GITHUB_ENV
+ { print "WABT_CMAKE_VER=" a[1]; exit; }' CMakeLists.txt | tee $GITHUB_ENV
- name: Install minimum CMake
run: |
python -m pip install -U setuptools wheel pip