mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-23 03:10:01 +08:00
8 lines
203 B
CMake
8 lines
203 B
CMake
|
find_program(iwyu_path NAMES include-what-you-use iwyu)
|
||
|
if(iwyu_path)
|
||
|
set_property(TARGET ${lib}
|
||
|
PROPERTY ${iwyu_path} -Xiwyu
|
||
|
--mapping_file ${CMAKE_CURRENT_SOURCE_DIR}/iwyu.impl
|
||
|
)
|
||
|
endif()
|