Unidata / UDUNITS-2

API and utility for arithmetic manipulation of units of physical quantities
http://www.unidata.ucar.edu/software/udunits
Other
62 stars 36 forks source link

Visual Studio Fix, RPATH handling improvement #41

Closed WardF closed 8 years ago

WardF commented 8 years ago

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.