Skip to content

Commit

Permalink
mbed tls include path
Browse files Browse the repository at this point in the history
  • Loading branch information
huitema committed Nov 4, 2023
1 parent 6503ede commit ecdc6c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@ endif()

OPTION(WITH_MBEDTLS "enable MBEDTLS" OFF)


IF (WITH_MBEDTLS)
FIND_PACKAGE(MbedTLS)
IF (MbedTLS_FOUND)
Expand Down Expand Up @@ -305,11 +304,13 @@ target_include_directories(picoquic-core
PRIVATE
${PTLS_INCLUDE_DIRS}
${OPENSSL_INCLUDE_DIR}
${MBEDTLS_INCLUDE_DIRS}
PUBLIC
picoquic)
target_link_libraries(picoquic-core
PRIVATE
${OPENSSL_LIBRARIES}
${MBEDTLS_LIBRARIES}
PUBLIC
${PTLS_LIBRARIES}
Threads::Threads)
Expand All @@ -329,6 +330,7 @@ target_link_libraries(picohttp-core
PRIVATE
${PTLS_LIBRARIES}
${OPENSSL_LIBRARIES}
${MBEDTLS_LIBRARIES}
PUBLIC
picoquic-core)
target_include_directories(picohttp-core
Expand Down

0 comments on commit ecdc6c3

Please sign in to comment.