diff options
| author | Brent Cook <bcook@openbsd.org> | 2018-05-29 05:44:34 -0500 |
|---|---|---|
| committer | Brent Cook <bcook@openbsd.org> | 2018-05-29 05:46:54 -0500 |
| commit | 4fcfc82d83de32098530abfa3aff5d6fc5532433 (patch) | |
| tree | 449adaa04fdd66b065fb9ffd4f58912d398c03ca /apps/ocspcheck | |
| parent | 9b4044d8edce19f72649ba2960a54d57373b84b5 (diff) | |
| download | portable-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.txt | 8 |
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 @@ | |||
| 1 | if(NOT MSVC) | 1 | if(NOT MSVC) |
| 2 | 2 | ||
| 3 | include_directories( | ||
| 4 | . | ||
| 5 | ./compat | ||
| 6 | ../../include | ||
| 7 | ../../include/compat | ||
| 8 | ) | ||
| 9 | |||
| 10 | set( | 3 | set( |
| 11 | OCSPCHECK_SRC | 4 | OCSPCHECK_SRC |
| 12 | http.c | 5 | http.c |
| @@ -27,6 +20,7 @@ else() | |||
| 27 | endif() | 20 | endif() |
| 28 | 21 | ||
| 29 | add_executable(ocspcheck ${OCSPCHECK_SRC}) | 22 | add_executable(ocspcheck ${OCSPCHECK_SRC}) |
| 23 | target_include_directories(ocspcheck PRIVATE . ./compat) | ||
| 30 | target_link_libraries(ocspcheck tls ${OPENSSL_LIBS}) | 24 | target_link_libraries(ocspcheck tls ${OPENSSL_LIBS}) |
| 31 | 25 | ||
| 32 | if(ENABLE_LIBRESSL_INSTALL) | 26 | if(ENABLE_LIBRESSL_INSTALL) |
