nholthaus / units

a compile-time, header-only, dimensional analysis and unit conversion library built on c++14 with no dependencies.
http://nholthaus.github.io/units/
MIT License
955 stars 135 forks source link

ENABLE_PREDEFINED_CONSTANTS_UNITS not used in units.h #264

Closed augustoicaro closed 2 years ago

augustoicaro commented 3 years ago

Please include the following information in your issue:

  1. Version: 2.3.1
  2. Compiler: any

Hello!

I was checking the variables used in cmake to enable a subset of units and I found that ENABLE_PREDEFINED_CONSTANTS_UNITS is not used in units.h:4157 as the other macros are.

This needs to be fixed, or it is right?