From: Matthew Fernandez Date: Sat, 5 Nov 2022 18:53:05 +0000 (-0700) Subject: CMake: fix include variable used for DevIL X-Git-Tag: 7.0.1~1^2~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4cdbc9594ade3a26b047aa7eee0a624eb5921293;p=graphviz CMake: fix include variable used for DevIL 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 --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 8dc98dd73..e72805990 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - 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 diff --git a/plugin/devil/CMakeLists.txt b/plugin/devil/CMakeLists.txt index 55ca5c4de..a49ac2b44 100644 --- a/plugin/devil/CMakeLists.txt +++ b/plugin/devil/CMakeLists.txt @@ -19,7 +19,7 @@ if(PANGOCAIRO_FOUND AND DevIL_FOUND) target_include_directories(gvplugin_devil SYSTEM PRIVATE ${PANGOCAIRO_INCLUDE_DIRS} - ${IL_INCLUDE_DIRS} + ${IL_INCLUDE_DIR} ) target_link_libraries(gvplugin_devil