aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2018-06-14 05:59:20 -0500
committerBrent Cook <bcook@openbsd.org>2018-06-14 05:59:20 -0500
commitbf368e58e7d7737957438fac99016f4e05a094f1 (patch)
tree72fd96ec509d08296d7f562cef5d59fbf9b5ea05
parent64b69515762f79c7d8841025455c188708059abd (diff)
downloadportable-bf368e58e7d7737957438fac99016f4e05a094f1.tar.gz
portable-bf368e58e7d7737957438fac99016f4e05a094f1.tar.bz2
portable-bf368e58e7d7737957438fac99016f4e05a094f1.zip
add private includes for apps and tests
-rw-r--r--apps/nc/CMakeLists.txt2
-rw-r--r--apps/ocspcheck/CMakeLists.txt2
-rw-r--r--apps/openssl/CMakeLists.txt2
-rw-r--r--tests/CMakeLists.txt1
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()
43endif() 43endif()
44 44
45add_executable(nc ${NC_SRC}) 45add_executable(nc ${NC_SRC})
46target_include_directories(nc PRIVATE . ./compat) 46target_include_directories(nc PRIVATE . ./compat ../../include/compat)
47target_link_libraries(nc tls ${OPENSSL_LIBS}) 47target_link_libraries(nc tls ${OPENSSL_LIBS})
48 48
49if(ENABLE_NC) 49if(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()
20endif() 20endif()
21 21
22add_executable(ocspcheck ${OCSPCHECK_SRC}) 22add_executable(ocspcheck ${OCSPCHECK_SRC})
23target_include_directories(ocspcheck PRIVATE . ./compat) 23target_include_directories(ocspcheck PRIVATE . ./compat ../../include/compat)
24target_link_libraries(ocspcheck tls ${OPENSSL_LIBS}) 24target_link_libraries(ocspcheck tls ${OPENSSL_LIBS})
25 25
26if(ENABLE_LIBRESSL_INSTALL) 26if(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()
68endif() 68endif()
69 69
70add_executable(openssl ${OPENSSL_SRC}) 70add_executable(openssl ${OPENSSL_SRC})
71target_include_directories(openssl PRIVATE .) 71target_include_directories(openssl PRIVATE . ../../include/compat)
72target_link_libraries(openssl ${OPENSSL_LIBS}) 72target_link_libraries(openssl ${OPENSSL_LIBS})
73 73
74if(ENABLE_LIBRESSL_INSTALL) 74if(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(
6 ../tls 6 ../tls
7 ../apps/openssl 7 ../apps/openssl
8 ../apps/openssl/compat 8 ../apps/openssl/compat
9 ../include/compat
9) 10)
10 11
11add_definitions(-D_PATH_SSL_CA_FILE=\"${CMAKE_CURRENT_SOURCE_DIR}/../apps/openssl/cert.pem\") 12add_definitions(-D_PATH_SSL_CA_FILE=\"${CMAKE_CURRENT_SOURCE_DIR}/../apps/openssl/cert.pem\")