When PackagesRoot is set to some global directory, nuget packages are installed in it and not under application-specific nuget directory, so using the default value of NUGET_PACKAGES_PATH didn't work and CMake configure step failed because it didn't find third-party packages files.
Fix this by allowing to specify -DNUGET_PACKAGES_PATH=$PackagesRoot on CMake command line to override the default value.
I've ran into this while working on my other PR and had to make this change as I couldn't build the application without it. I'm not a CMake expert (far from it), but AFAICS this shouldn't break anything and allows the build to work here.
Thank you for you contributions!! I merged them and will make new release asap (however, I see that the automatic version numbering is broken since I moved to CMake, so I will have to fix that first ;)
When PackagesRoot is set to some global directory, nuget packages are installed in it and not under application-specific nuget directory, so using the default value of NUGET_PACKAGES_PATH didn't work and CMake configure step failed because it didn't find third-party packages files.
Fix this by allowing to specify -DNUGET_PACKAGES_PATH=$PackagesRoot on CMake command line to override the default value.
I've ran into this while working on my other PR and had to make this change as I couldn't build the application without it. I'm not a CMake expert (far from it), but AFAICS this shouldn't break anything and allows the build to work here.