mirror of
https://github.com/mpusz/mp-units.git
synced 2025-06-25 01:01:33 +02:00
build: IWYU path handling fixed
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user