Skip to content

Commit

Permalink
Update content/en/docs/instrumentation/cpp/getting-started.md
Browse files Browse the repository at this point in the history
Co-authored-by: Severin Neumann <[email protected]>
  • Loading branch information
Akhaled19 and svrnm authored Dec 18, 2023
1 parent eb11179 commit 69c6fea
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion content/en/docs/instrumentation/cpp/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,11 @@ set(SOURCES
add_executable(dice-server ${SOURCES})
set(OATPP_ROOT ../oatpp)
set(OATPP_LIB /path/to/oatpp/lib)
find_library(OATPP_LIB NAMES liboatpp.a HINTS "${OATPP_ROOT}/build/src/" NO_DEFAULT_PATH)
if (NOT OATPP_LIB)
message(SEND_ERROR "Did not find oatpp library ${OATPP_ROOT}/build/src")
endif()
#set the path to the directory containing "oatpp" package configuration files
include_directories(${OATPP_ROOT}/src)
Expand Down

0 comments on commit 69c6fea

Please sign in to comment.