Merge pull request #10936 from TellowKrinkle/FixIncludeDirs CMake: Actually use the include directories specified by dependencies