Skip to content

Commit 5ca82dc

Browse files
authored
build(jxl): Use correct cmake variables for the include directories (AcademySoftwareFoundation#4810)
I'm unsure how this could have worked correctly. There were three different variables used before, now there is only one. Signed-off-by: Jesse Yurkovich <jesse.y@gmail.com>
1 parent ff44d10 commit 5ca82dc

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/cmake/modules/FindJXL.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,4 @@ find_package_handle_standard_args(JXL
4141

4242
if(JXL_FOUND)
4343
set(JXL_LIBRARIES ${JXL_LIBRARY} ${JXL_THREADS_LIBRARY})
44-
set(JXL_INCLUDES ${JXL_INCLUDE_DIR})
4544
endif(JXL_FOUND)

src/jpegxl.imageio/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
if (JXL_FOUND)
66
add_oiio_plugin (jxlinput.cpp jxloutput.cpp
7-
INCLUDE_DIRS ${JXL_INCLUDE_DIRS}
7+
INCLUDE_DIRS ${JXL_INCLUDE_DIR}
88
LINK_LIBRARIES ${JXL_LIBRARIES}
99
DEFINITIONS "USE_JXL")
1010
else()

0 commit comments

Comments
 (0)