When building QuantLib with XAD support using this repository, the examples and tests inside the repository work fine. However, when installing QuantLib with CMake into a prefix and building a third-party application against this installation is currently broken.
The idea is that, after installing XAD-enabled QuantLib into a prefix in CMake's search path, the following should work in CMake:
When building QuantLib with XAD support using this repository, the examples and tests inside the repository work fine. However, when installing QuantLib with CMake into a prefix and building a third-party application against this installation is currently broken.
The idea is that, after installing XAD-enabled QuantLib into a prefix in CMake's search path, the following should work in CMake:
In order to fix this, the install exports here should be modified to:
QuantLib
target that is already created by QuantLib itself with the extra link libraryquantlib-xad
to get all the settings right