modelon-community/fmi-library

CMake option to not use bundled thirdparty

joakimono opened this issue · 1 comments

We are working on a so-called conan recipe to build fmi-library on conan center index (CCI), so that it can be made available via conan (a C / C++ package manager).

The recipe will be maintained by the open source community. A good practice on CCI is to let conan handle the third-party dependencies instead of building third-party code. Currently (for 2.4.1), this necessitates several patches to workaround the external project compilation, see conan-io/conan-center-index#20256, https://github.com/joakimono/conan-center-index/tree/fmilibrary/new-package/recipes/fmilib/all/patches.

It would be more maintainable if fmi-library could optionally disable bundled third-party dependencies, e.g. through a CMake option variable.

Could you please consider such feature on your next major release?

Hi @joakimono, thank you for the request. It sounds like a good idea and I'll see what we can do about this.