Skip to content

Commit c4cee85

Browse files
committed
fix
Signed-off-by: Larry Gritz <[email protected]>
1 parent 9fb8e1f commit c4cee85

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/raw.imageio/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ if (LIBRAW_FOUND)
66
add_oiio_plugin (rawinput.cpp
77
INCLUDE_DIRS ${LibRaw_INCLUDE_DIR}
88
LINK_LIBRARIES ${LibRaw_r_LIBRARIES}
9-
DEFINITIONS "USE_LIBRAW=1" ${LibRaw_r_DEFINITIONS})
9+
COMPILE_OPTIONS ${LibRaw_r_DEFINITIONS}
10+
DEFINITIONS "USE_LIBRAW=1")
1011
else ()
1112
message (WARNING "Raw plugin will not be built")
1213
endif ()

0 commit comments

Comments
 (0)