bashbaug / opencl-runtime-loader

OpenCL Runtime Loader Library
MIT License
2 stars 0 forks source link

add build option to force static library for this library only #9

Open bashbaug opened 4 years ago

bashbaug commented 4 years ago

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.