summaryrefslogtreecommitdiff
path: root/scripts/test/wasm2js.py
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2020-01-30 10:11:23 -0800
committerGitHub <noreply@github.com>2020-01-30 10:11:23 -0800
commitcd8d82910d229aa8357eb18882745397f6ed87eb (patch)
tree4a5127a5fad370f7fd49afa79a266d6b054a9c86 /scripts/test/wasm2js.py
parent9384ff68eea8090578354bab35fce2e621a588c4 (diff)
downloadbinaryen-cd8d82910d229aa8357eb18882745397f6ed87eb.tar.gz
binaryen-cd8d82910d229aa8357eb18882745397f6ed87eb.tar.bz2
binaryen-cd8d82910d229aa8357eb18882745397f6ed87eb.zip
Fix for cmake 3.10 (eg on Ubuntu LTS) (#2632)
CMAKE_PROJECT_VERSION is only predefined on cmake 3.12 and later, so the previous code produced an empty version number which leads to parsing errors when emcc checks the version. Use of the older PROJECT_VERSION variable as the source of the original version works here, as there's only one toplevel project defined.
Diffstat (limited to 'scripts/test/wasm2js.py')
0 files changed, 0 insertions, 0 deletions