build: mp::units CMake target was a bad idea -> mp-units::mp-units is back

This commit is contained in:
Mateusz Pusz committed 2021-02-15 17:06:09 +01:00
1 parent 4d965d7f47
commit 8f04bd9cfe
9 files changed
+21 -32

No files matched your search

-1
View File
@@ -17,7 +17,6 @@
- (!) fix: `dim_torque` now properly divides by an angle (instead of multiply) + default unit name change
- fix: `quantity_cast()` fixed to work correctly with representation types not convertible from `std::intmax_t`
- fix: ambiguous case for empty type list resolved
- (!) build: The library should now be linked as `mp::units` in the CMake's `target_link_libraries()`
- (!) build: `BUILD_DOCS` CMake option renamed to `UNITS_BUILD_DOCS`
- build: doxygen updated to 1.8.20
- build: catch2 updated to 2.13.4
+2 -2
View File
@@ -193,7 +193,7 @@ defined by the library. To do so you should use *CMakeLists.txt* file from the *
add_subdirectory(<path_to_units_folder>/src)
# ...
target_link_libraries(<your_target> PUBLIC|PRIVATE|INTERFACE mp::units)
target_link_libraries(<your_target> PUBLIC|PRIVATE|INTERFACE mp-units::mp-units)
.. important::
@@ -238,7 +238,7 @@ library release the following steps may be performed:
.. code-block:: cmake
target_link_libraries(<your_target> PUBLIC|PRIVATE|INTERFACE mp::units)
target_link_libraries(<your_target> PUBLIC|PRIVATE|INTERFACE mp-units::mp-units)
target_compile_features(<your_target> PUBLIC|PRIVATE|INTERFACE cxx_std_20)
.. important::