mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 09:00:17 +02:00
Merge pull request #5306 from crueter/iwyu
CMake: Also search for `include-what-you-use` if IWYU is enabled
This commit is contained in:
1 file changed
+2
-1
+2
-1
@@ -543,7 +543,8 @@ endif()
|
||||
message(STATUS "FEX Version: ${GIT_DESCRIBE_STRING}")
|
||||
message(STATUS "FEX Commit: ${GIT_SHORT_HASH}")
|
||||
if (ENABLE_IWYU)
|
||||
find_program(IWYU_EXE "iwyu")
|
||||
find_program(IWYU_EXE
|
||||
NAMES iwyu include-what-you-use)
|
||||
if (IWYU_EXE)
|
||||
message(STATUS "IWYU enabled")
|
||||
set(CMAKE_CXX_INCLUDE_WHAT_YOU_USE "${IWYU_EXE}")
|
||||
|
||||
Reference in new issue
Block a user