diff options
author | Steven Johnson <srj@google.com> | 2020-06-19 11:37:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-19 11:37:30 -0700 |
commit | 96596685f99f8dd5d330c34e8a3cd9651fdcc2fe (patch) | |
tree | bb61aa86e3cef9d1d4a46c8c006d2d261cabc009 /src/binary-reader-logging.cc | |
parent | 51db8c621d95e6037f8d5455558d8935c98b5a22 (diff) | |
download | wabt-96596685f99f8dd5d330c34e8a3cd9651fdcc2fe.tar.gz wabt-96596685f99f8dd5d330c34e8a3cd9651fdcc2fe.tar.bz2 wabt-96596685f99f8dd5d330c34e8a3cd9651fdcc2fe.zip |
Enable CMake policy CMP0077 (#1471)
TL;DR: this makes it simpler and safer for projects including WABT via FetchContent to configure options via the CMAKE_ARGS argument.
Importing projects may want to set (e.g.) BUILD_TESTS to "no". However, this doesn't work without creating an identical option() in the importing in the importing project. Enabling CMP0077 in supported versions of CMake allows importing projects to set default values for the variables without touching the cache.
Diffstat (limited to 'src/binary-reader-logging.cc')
0 files changed, 0 insertions, 0 deletions