diff --git a/cmake/include-what-you-use.cmake b/cmake/include-what-you-use.cmake index 53556e7a..1b5c9cc0 100644 --- a/cmake/include-what-you-use.cmake +++ b/cmake/include-what-you-use.cmake @@ -86,10 +86,10 @@ macro(_process_iwyu_arguments offset log_postfix) set(_enable_iwyu_PROGRAM include-what-you-use) endif() - find_program(IWYU_PATH ${_enable_iwyu_PROGRAM}) - if(IWYU_PATH) + find_program(_iwyu_path ${_enable_iwyu_PROGRAM}) + if(_iwyu_path) if(NOT _enable_iwyu_QUIET) - message(STATUS " Executable: ${IWYU_PATH}") + message(STATUS " Executable: ${_iwyu_path}") endif() else() if(DEFINED _error_log_level)