Skip to content

Commit d50caee

Browse files
authored
build: Fix libraw definitions (again) (#4588)
Fixes #4586 Replaces #4587 --------- Signed-off-by: Larry Gritz <[email protected]>
1 parent 0ae1f07 commit d50caee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cmake/modules/FindLibRaw.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ if (LINKSTATIC)
9696
set (LibRaw_r_LIBRARIES ${LibRaw_r_LIBRARIES} ${LCMS2_LIBRARIES})
9797
endif()
9898
if (MSVC)
99-
set (LibRaw_r_DEFINITIONS ${LibRaw_r_DEFINITIONS} LIBRAW_NODLL)
100-
set (LibRaw_DEFINITIONS ${LibRaw_DEFINITIONS} LIBRAW_NODLL)
99+
set (LibRaw_r_DEFINITIONS ${LibRaw_r_DEFINITIONS} -D LIBRAW_NODLL)
100+
set (LibRaw_DEFINITIONS ${LibRaw_DEFINITIONS} -D LIBRAW_NODLL)
101101
endif()
102102
endif ()

0 commit comments

Comments
 (0)