This library can certainly be built as a shared library, but in other cases it should be built as a static library even if most other libraries are built as shared libraries. Add a build option to force a static library for this library only that overrides BUILD_SHARED_LIBS.
See: https://github.com/bashbaug/opencl-runtime-loader/pull/3#issuecomment-674582490
This library can certainly be built as a shared library, but in other cases it should be built as a static library even if most other libraries are built as shared libraries. Add a build option to force a static library for this library only that overrides BUILD_SHARED_LIBS.