intel / hexl

Intel:registered: Homomorphic Encryption Acceleration Library accelerates modular arithmetic operations used in homomorphic encryption
https://intel.github.io/hexl
Apache License 2.0
219 stars 50 forks source link

Wrong cmake condition in the main CMakeLists.txt #102

Closed wkjung closed 2 years ago

wkjung commented 2 years ago

I guess the cmake condition testing whether to use GNUInstallDirs below should be UNIX, not LINUX, following here.

From my experiment it didn't work for my ubuntu 20.04 environment.

https://github.com/intel/hexl/blob/3b7e2d54e4fcdc5ffb6448b9323076f6844e6b65/CMakeLists.txt#L124

hamishun commented 2 years ago

@wkjung Thank you for bringing this to our attention. The cmake code will be changed in a future release. Fortunately, this issue does not affect the build of HEXL.