diff --git a/3rdparty/everest/CMakeLists.txt b/3rdparty/everest/CMakeLists.txt index f105c894ef..ee7f0e4b9a 100644 --- a/3rdparty/everest/CMakeLists.txt +++ b/3rdparty/everest/CMakeLists.txt @@ -8,7 +8,7 @@ add_library(${everest_target} target_include_directories(${everest_target} PUBLIC $ $ - $ + $ PRIVATE include/everest include/everest/kremlib ${MBEDTLS_DIR}/library/) diff --git a/3rdparty/p256-m/CMakeLists.txt b/3rdparty/p256-m/CMakeLists.txt index 884002e3c6..0e6c6d868b 100644 --- a/3rdparty/p256-m/CMakeLists.txt +++ b/3rdparty/p256-m/CMakeLists.txt @@ -8,7 +8,7 @@ target_include_directories(${p256m_target} PUBLIC $ $ $ - $ + $ PRIVATE ${MBEDTLS_DIR}/library/) # Pass-through MBEDTLS_CONFIG_FILE and MBEDTLS_USER_CONFIG_FILE diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt index 48347938b2..479da96008 100644 --- a/library/CMakeLists.txt +++ b/library/CMakeLists.txt @@ -349,7 +349,7 @@ foreach(target IN LISTS target_libraries) # of /library (which currently means: under /3rdparty). target_include_directories(${target} PUBLIC $ - $ + $ PRIVATE ${MBEDTLS_DIR}/library/ # Needed to include psa_crypto_driver_wrappers.h ${CMAKE_CURRENT_BINARY_DIR})