herumi / mcl

a portable and fast pairing-based cryptography library
BSD 3-Clause "New" or "Revised" License
458 stars 157 forks source link

Install common.mk so dependencies can use it #34

Closed infinity0 closed 5 years ago

infinity0 commented 5 years ago

The build of bls includes common.mk from this repository, it contains some useful settings.

It would be good to install it into e.g. $(prefix)/share/mcl/common.mk which would be necessary for e.g. herumi/bls#17.

infinity0 commented 5 years ago

For cmake, this would involve adding an install rule to install common.mk into ${CMAKE_INSTALL_DATADIR}/mcl

For details see https://cmake.org/cmake/help/v3.0/module/GNUInstallDirs.html

infinity0 commented 5 years ago

No longer necessary since 731e67cbdaef3b805b425186e07c387cecaa97be was done instead.