libccd icon indicating copy to clipboard operation
libccd copied to clipboard

Define and propagate CCD_STATIC_DEFINE if the library is compiled as static

Open traversaro opened this issue 2 years ago • 0 comments

When the ccd library is compiled as static, the CCD_EXPORT should be an empty string, especially on Windows, to avoid linking errors. This can be achieved easily by making sure that CCD_STATIC_DEFINE is defined both when buildng ccd as static, and also when the static ccd is consumed by downstream CMake libraries.

Fix https://github.com/danfis/libccd/issues/33 .

traversaro avatar Jun 20 '23 13:06 traversaro