CarVac / librtprocess

A project to make RawTherapee's processing algorithms more readily available.
Other
53 stars 24 forks source link

Fixed compilation in static builds. #75

Closed emruiz81 closed 1 year ago

emruiz81 commented 1 year ago

I've broken static builds in PR #74 , assuming that all builds were dynamic. This patch addresses that, and enables the new macros only for MSVC builds; also, it forces you to define the LIBRTPROCESS_STATIC preprocessor directive from your project if statically linking the library (again, only for MSVC builds).

lock042 commented 1 year ago

Thx @emruiz81 : It works like a charm.