From bf368e58e7d7737957438fac99016f4e05a094f1 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Thu, 14 Jun 2018 05:59:20 -0500 Subject: add private includes for apps and tests --- apps/nc/CMakeLists.txt | 2 +- apps/ocspcheck/CMakeLists.txt | 2 +- apps/openssl/CMakeLists.txt | 2 +- tests/CMakeLists.txt | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/nc/CMakeLists.txt b/apps/nc/CMakeLists.txt index 30c1745..cc34ef3 100644 --- a/apps/nc/CMakeLists.txt +++ b/apps/nc/CMakeLists.txt @@ -43,7 +43,7 @@ else() endif() add_executable(nc ${NC_SRC}) -target_include_directories(nc PRIVATE . ./compat) +target_include_directories(nc PRIVATE . ./compat ../../include/compat) target_link_libraries(nc tls ${OPENSSL_LIBS}) if(ENABLE_NC) diff --git a/apps/ocspcheck/CMakeLists.txt b/apps/ocspcheck/CMakeLists.txt index 9e0d012..3c80458 100644 --- a/apps/ocspcheck/CMakeLists.txt +++ b/apps/ocspcheck/CMakeLists.txt @@ -20,7 +20,7 @@ else() endif() add_executable(ocspcheck ${OCSPCHECK_SRC}) -target_include_directories(ocspcheck PRIVATE . ./compat) +target_include_directories(ocspcheck PRIVATE . ./compat ../../include/compat) target_link_libraries(ocspcheck tls ${OPENSSL_LIBS}) if(ENABLE_LIBRESSL_INSTALL) diff --git a/apps/openssl/CMakeLists.txt b/apps/openssl/CMakeLists.txt index 1fe9004..db63ecf 100644 --- a/apps/openssl/CMakeLists.txt +++ b/apps/openssl/CMakeLists.txt @@ -68,7 +68,7 @@ else() endif() add_executable(openssl ${OPENSSL_SRC}) -target_include_directories(openssl PRIVATE .) +target_include_directories(openssl PRIVATE . ../../include/compat) target_link_libraries(openssl ${OPENSSL_LIBS}) if(ENABLE_LIBRESSL_INSTALL) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 065d934..3ef7b84 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -6,6 +6,7 @@ include_directories( ../tls ../apps/openssl ../apps/openssl/compat + ../include/compat ) add_definitions(-D_PATH_SSL_CA_FILE=\"${CMAKE_CURRENT_SOURCE_DIR}/../apps/openssl/cert.pem\") -- cgit v1.2.3-55-g6feb