schrodinger / coordgenlibs

Schrodinger-developed 2D Coordinate Generation
BSD 3-Clause "New" or "Revised" License
42 stars 28 forks source link

Include GNUInstallDirs in CMake file #74

Closed ricrogz closed 4 years ago

ricrogz commented 4 years ago

Apparently, CMAKE_INSTALL_LIBDIR and CMAKE_INSTALL_BINDIR aren't always available by default: at least the MacOs 10.14 and cmake 3.13.5 combination doesn't have it, which causes the CMake configuration fail with the error:

[stderr] CMake Error at CMakeLists.txt:94 (install):
[stderr]   install TARGETS given no LIBRARY DESTINATION for shared library target
[stderr]   "coordgen".
[stderr] 

Forcing the inclusion of this module solves the issue.