diff --git a/README.md b/README.md index 7cd4c43..40f77bf 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Alternatively, you can also integrate this package using [CPM.cmake](https://git cpmaddpackage(gh:threeal/errors-cpp@1.0.0) add_executable(foo foo.cpp) -target_link_libraries(foo PRIVATE errors::errors) +target_link_libraries(foo PRIVATE errors) ``` ## Usage diff --git a/docs/index.rst b/docs/index.rst index 35afe25..d58bd3a 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -49,7 +49,7 @@ Alternatively, you can also integrate this package using `CPM.cmake`_: cpmaddpackage(gh:threeal/errors-cpp@1.0.0) add_executable(foo foo.cpp) - target_link_libraries(foo PRIVATE errors::errors) + target_link_libraries(foo PRIVATE errors) .. _CMake: https://cmake.org/ .. _CPM.cmake: https://github.com/cpm-cmake/CPM.cmake