Browse Source

Fix check for program not found (#3212)

Co-authored-by: kkeshava <kkeshava@google.com>
pull/3219/head
darkdragon-001 2 years ago
committed by GitHub
parent
commit
dbdf99881e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cpp/CMakeLists.txt

+ 1
- 1
cpp/CMakeLists.txt View File

@ -73,7 +73,7 @@ endfunction ()
function (find_required_program NAME FILENAME DESCRIPTION)
find_program (${NAME}_BIN NAMES ${FILENAME})
if (${NAME}_BIN STREQUAL "${${NAME}_BIN}-NOTFOUND")
if (${NAME}_BIN STREQUAL "${NAME}_BIN-NOTFOUND")
print_error (${DESCRIPTION} ${FILENAME})
endif ()
endfunction (find_required_program)


Loading…
Cancel
Save