b5f4448a3f3a70e14ba7d6990b81506cbda82180 made this closer to correct but still
wrong. As its message mentioned, FindDevIL.cmake is frustratingly inconsistent¹
with respect to the rest of the CMake ecosystem.
Gitlab: #2291
¹ https://cmake.org/cmake/help/latest/module/FindDevIL.html
- The CMake build system no longer uses the final install location as the
staging area for example graphs and templates during `cpack`. This bug was
introduced in Graphviz 4.0.0. #2232
+- The CMake build system uses a corrected path to DevIL headers when discovered.
## [7.0.0] – 2022-10-22
target_include_directories(gvplugin_devil SYSTEM PRIVATE
${PANGOCAIRO_INCLUDE_DIRS}
- ${IL_INCLUDE_DIRS}
+ ${IL_INCLUDE_DIR}
)
target_link_libraries(gvplugin_devil