Description
The DLL import/export macros are used unconditionally, breaking linking when using a static library.
Use a suitable _EXPORT define when building; see CMake GenerateExportHeader for one way to do this which could be easily enabled.
The DLL import/export macros are used unconditionally, breaking linking when using a static library.
Use a suitable _EXPORT define when building; see CMake GenerateExportHeader for one way to do this which could be easily enabled.