Skip to content

Commit d2ea74f

Browse files
committed
commit for CI debugging, will be removed later
Signed-off-by: loicvital <[email protected]>
1 parent 2a5fc74 commit d2ea74f

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/cmake/modules/Findlibuhdr.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,7 @@ find_package_handle_standard_args (libuhdr
2828
REQUIRED_VARS LIBUHDR_INCLUDE_DIR
2929
LIBUHDR_LIBRARY
3030
)
31+
32+
if (libuhdr_FOUND)
33+
message("libuhdr: includedir=${LIBUHDR_INCLUDE_DIR} library=${LIBUHDR_LIBRARY}")
34+
endif()

src/jpeg.imageio/CMakeLists.txt

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

55
if (libuhdr_FOUND)
66
set (UHDR_DEFS USE_UHDR)
7+
else ()
8+
set (LIBUHDR_INCLUDE_DIR "")
9+
set (LIBUHDR_LIBRARY "")
10+
set (UHDR_DEFS "")
711
endif ()
812

13+
message("UHDR_DEFS: ${UHDR_DEFS}")
14+
915
add_oiio_plugin (jpeginput.cpp jpegoutput.cpp
1016
INCLUDE_DIRS ${LIBUHDR_INCLUDE_DIR}
1117
LINK_LIBRARIES
1218
$<TARGET_NAME_IF_EXISTS:libjpeg-turbo::jpeg>
1319
$<TARGET_NAME_IF_EXISTS:JPEG::JPEG>
1420
${LIBUHDR_LIBRARY}
15-
DEFINITIONS ${UHDR_DEFS}
21+
DEFINITIONS "${UHDR_DEFS}"
1622
)

0 commit comments

Comments
 (0)