CMake: Prepare providers.xml for UnitTest executables
|Reported by:||jng||Owned by:||jng|
Currently, UnitTest executables produced by CMake cannot be run without first doing:
sudo make install export LD_LIBRARY_PATH=/usr/local/fdo-x.y.z/lib:$LD_LIBRARY_PATH
This is because there is no
providers.xml present in the UnitTest's output directory (because the default one is for Windows), so the next place to look is the FDO installatio ndirectory, which can easily get out of date with respect to what you're currently building.
CMakeLists.txt should prepare an app-local copy of this file