Skip to content

Commit

Permalink
fix OSS test cert discovery
Browse files Browse the repository at this point in the history
Summary: Enable finding folly test certs in cmake build via folly_test_util FOLLY_CERTS_DIR rather than hardcoding the path so that the certs can be found. The define already existed but was not set/used in the cmake build

Reviewed By: bigfootjon

Differential Revision: D66074308

fbshipit-source-id: 22417237f1341918b3e02f52fe093ab1d38683d9
  • Loading branch information
ahornby authored and facebook-github-bot committed Nov 18, 2024
1 parent 0660ead commit b8f2b44
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,9 @@ add_library(folly_test_util
${FOLLY_DIR}/test/DeterministicSchedule.cpp
${FOLLY_DIR}/json/JsonTestUtil.cpp
)
target_compile_definitions(folly_test_util PUBLIC
FOLLY_CERTS_DIR="${FOLLY_DIR}/io/async/test/certs"
)
set_property(TARGET folly_test_util PROPERTY VERSION ${PACKAGE_VERSION})
target_link_libraries(folly_test_util
PUBLIC
Expand Down

0 comments on commit b8f2b44

Please sign in to comment.