Skip to content

Commit

Permalink
Fix check for program not found (#3212)
Browse files Browse the repository at this point in the history
Co-authored-by: kkeshava <kkeshava@google.com>
  • Loading branch information
darkdragon-001 and kkeshava authored Sep 19, 2023
1 parent c8d6931 commit dbdf998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit dbdf998

Please sign in to comment.