From: Mark Hansen Date: Sat, 8 Oct 2022 05:58:56 +0000 (+1100) Subject: DevIL plugin: use IL_ CMake variables X-Git-Tag: 7.0.0~17^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b5f4448a3f3a70e14ba7d6990b81506cbda82180;p=graphviz DevIL plugin: use IL_ CMake variables https://cmake.org/cmake/help/latest/module/FindDevIL.html#result-variables mentions that FindDevIL CMake module sets the following, frustratingly inconsistent variables: - IL_LIBRARIES - IL_INCLUDE_DIR - DevIL_FOUND Note I can't actually test this on my local machine, so I'll be relying on CI. Fixes #2289 --- diff --git a/plugin/devil/CMakeLists.txt b/plugin/devil/CMakeLists.txt index 2f595c99d..55ca5c4de 100644 --- a/plugin/devil/CMakeLists.txt +++ b/plugin/devil/CMakeLists.txt @@ -19,12 +19,12 @@ if(PANGOCAIRO_FOUND AND DevIL_FOUND) target_include_directories(gvplugin_devil SYSTEM PRIVATE ${PANGOCAIRO_INCLUDE_DIRS} - ${DevIL_INCLUDE_DIRS} + ${IL_INCLUDE_DIRS} ) target_link_libraries(gvplugin_devil ${PANGOCAIRO_LIBRARIES} - ${DevIL_LIBRARIES} + ${IL_LIBRARIES} ) install(