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

+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::