[all-commits] [llvm/llvm-project] baf144: [CMake] Use NOT instead of STREQUAL

Petr Hosek via All-commits all-commits at lists.llvm.org
Fri Sep 10 01:33:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: baf1444929f4592aa36711cda6700a937e6c4613
      https://github.com/llvm/llvm-project/commit/baf1444929f4592aa36711cda6700a937e6c4613
  Author: Petr Hosek <phosek at google.com>
  Date:   2021-09-10 (Fri, 10 Sep 2021)

  Changed paths:
    M runtimes/CMakeLists.txt

  Log Message:
  -----------
  [CMake] Use NOT instead of STREQUAL

`<var> STREQUAL ""` fails when `<var>` is unset which can be the
case when using runtimes as top-level build. Use `NOT` instead.

Differential Revision: https://reviews.llvm.org/D109570




More information about the All-commits mailing list