From bf27b256b23f04abc778109e3afa37c3b2387287 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Thu, 18 Mar 2021 20:50:38 +0100 Subject: [PATCH] docs: CMake targets definition in usage updated --- docs/usage.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/usage.rst b/docs/usage.rst index 53e61078..17d4a03d 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -198,7 +198,7 @@ defined by the library. To do so you should use *CMakeLists.txt* file from the * add_subdirectory(/src) # ... - target_link_libraries( PUBLIC|PRIVATE|INTERFACE mp-units::mp-units) + target_link_libraries( mp-units::mp-units) .. important:: @@ -244,8 +244,8 @@ library release the following steps may be performed: .. code-block:: cmake - target_link_libraries( PUBLIC|PRIVATE|INTERFACE mp-units::mp-units) - target_compile_features( PUBLIC|PRIVATE|INTERFACE cxx_std_20) + target_link_libraries( mp-units::mp-units) + target_compile_features( cxx_std_20) .. important::