aboutsummaryrefslogtreecommitdiff
path: root/apps/ocspcheck
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2018-05-29 05:44:34 -0500
committerBrent Cook <bcook@openbsd.org>2018-05-29 05:46:54 -0500
commit4fcfc82d83de32098530abfa3aff5d6fc5532433 (patch)
tree449adaa04fdd66b065fb9ffd4f58912d398c03ca /apps/ocspcheck
parent9b4044d8edce19f72649ba2960a54d57373b84b5 (diff)
downloadportable-4fcfc82d83de32098530abfa3aff5d6fc5532433.tar.gz
portable-4fcfc82d83de32098530abfa3aff5d6fc5532433.tar.bz2
portable-4fcfc82d83de32098530abfa3aff5d6fc5532433.zip
scope private/public headers when embedding into other projects
thanks to Cameron Palmer
Diffstat (limited to 'apps/ocspcheck')
-rw-r--r--apps/ocspcheck/CMakeLists.txt8
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/ocspcheck/CMakeLists.txt b/apps/ocspcheck/CMakeLists.txt
index 15af8a8..9e0d012 100644
--- a/apps/ocspcheck/CMakeLists.txt
+++ b/apps/ocspcheck/CMakeLists.txt
@@ -1,12 +1,5 @@
1if(NOT MSVC) 1if(NOT MSVC)
2 2
3include_directories(
4 .
5 ./compat
6 ../../include
7 ../../include/compat
8)
9
10set( 3set(
11 OCSPCHECK_SRC 4 OCSPCHECK_SRC
12 http.c 5 http.c
@@ -27,6 +20,7 @@ else()
27endif() 20endif()
28 21
29add_executable(ocspcheck ${OCSPCHECK_SRC}) 22add_executable(ocspcheck ${OCSPCHECK_SRC})
23target_include_directories(ocspcheck PRIVATE . ./compat)
30target_link_libraries(ocspcheck tls ${OPENSSL_LIBS}) 24target_link_libraries(ocspcheck tls ${OPENSSL_LIBS})
31 25
32if(ENABLE_LIBRESSL_INSTALL) 26if(ENABLE_LIBRESSL_INSTALL)