Skip to content

Commit

Permalink
fix(doc): Remove outdated CMake component specification
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfr committed May 13, 2024
1 parent 8db3eac commit c4c895e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions doc/building.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,8 @@ In your own CMake project you can then include the open62541 library using:

.. code-block:: cmake
# optionally you can also specify a specific version
# e.g. find_package(open62541 1.0.0)
find_package(open62541 REQUIRED COMPONENTS Events FullNamespace)
add_executable(main main.cpp)
find_package(open62541 REQUIRED)
add_executable(main main.c)
target_link_libraries(main open62541::open62541)
Building with CMake on Windows
Expand Down

0 comments on commit c4c895e

Please sign in to comment.