Skip to content

Commit

Permalink
build: Fix libraw definitions (again) (#4588)
Browse files Browse the repository at this point in the history
Fixes #4586
Replaces #4587

---------

Signed-off-by: Larry Gritz <[email protected]>
  • Loading branch information
lgritz authored Jan 8, 2025
1 parent 0ae1f07 commit d50caee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cmake/modules/FindLibRaw.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ if (LINKSTATIC)
set (LibRaw_r_LIBRARIES ${LibRaw_r_LIBRARIES} ${LCMS2_LIBRARIES})
endif()
if (MSVC)
set (LibRaw_r_DEFINITIONS ${LibRaw_r_DEFINITIONS} LIBRAW_NODLL)
set (LibRaw_DEFINITIONS ${LibRaw_DEFINITIONS} LIBRAW_NODLL)
set (LibRaw_r_DEFINITIONS ${LibRaw_r_DEFINITIONS} -D LIBRAW_NODLL)
set (LibRaw_DEFINITIONS ${LibRaw_DEFINITIONS} -D LIBRAW_NODLL)
endif()
endif ()

0 comments on commit d50caee

Please sign in to comment.