Skip to content

Commit 5191442

Browse files
lgritzscott-wilson
authored andcommitted
build: Fix libraw definitions (again) (AcademySoftwareFoundation#4588)
Fixes AcademySoftwareFoundation#4586 Replaces AcademySoftwareFoundation#4587 --------- Signed-off-by: Larry Gritz <[email protected]> Signed-off-by: Scott Wilson <[email protected]>
1 parent 7f90e05 commit 5191442

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)