Corrected an issue I reported in UDUNITS-2 https://github.com/Unidata/UDUNITS-2/issues/40, e.g. Visual-Studio based Windows builds were broken due to a dependency on unistd.h introduced by flex. This issue was corrected in CMake-based builds, as these are the only type of builds on Windows that use Visual Studio.
I also added some cmake configuration for handling RPATH values post-install. This squelches an OSX-specific cmake warning that was being reported, and addresses some linux corner cases.
Corrected an issue I reported in UDUNITS-2 https://github.com/Unidata/UDUNITS-2/issues/40, e.g. Visual-Studio based Windows builds were broken due to a dependency on unistd.h introduced by flex. This issue was corrected in CMake-based builds, as these are the only type of builds on Windows that use Visual Studio.
I also added some cmake configuration for handling RPATH values post-install. This squelches an OSX-specific cmake warning that was being reported, and addresses some linux corner cases.