mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-30 18:37:15 +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)
|
set(_enable_iwyu_PROGRAM include-what-you-use)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_program(IWYU_PATH ${_enable_iwyu_PROGRAM})
|
find_program(_iwyu_path ${_enable_iwyu_PROGRAM})
|
||||||
if(IWYU_PATH)
|
if(_iwyu_path)
|
||||||
if(NOT _enable_iwyu_QUIET)
|
if(NOT _enable_iwyu_QUIET)
|
||||||
message(STATUS " Executable: ${IWYU_PATH}")
|
message(STATUS " Executable: ${_iwyu_path}")
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
if(DEFINED _error_log_level)
|
if(DEFINED _error_log_level)
|
||||||
|
Reference in New Issue
Block a user