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/openssl | |
| 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/openssl')
| -rw-r--r-- | apps/openssl/CMakeLists.txt | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/openssl/CMakeLists.txt b/apps/openssl/CMakeLists.txt index 8b800c4..1fe9004 100644 --- a/apps/openssl/CMakeLists.txt +++ b/apps/openssl/CMakeLists.txt | |||
| @@ -1,9 +1,3 @@ | |||
| 1 | include_directories( | ||
| 2 | . | ||
| 3 | ../../include | ||
| 4 | ../../include/compat | ||
| 5 | ) | ||
| 6 | |||
| 7 | set( | 1 | set( |
| 8 | OPENSSL_SRC | 2 | OPENSSL_SRC |
| 9 | apps.c | 3 | apps.c |
| @@ -74,6 +68,7 @@ else() | |||
| 74 | endif() | 68 | endif() |
| 75 | 69 | ||
| 76 | add_executable(openssl ${OPENSSL_SRC}) | 70 | add_executable(openssl ${OPENSSL_SRC}) |
| 71 | target_include_directories(openssl PRIVATE .) | ||
| 77 | target_link_libraries(openssl ${OPENSSL_LIBS}) | 72 | target_link_libraries(openssl ${OPENSSL_LIBS}) |
| 78 | 73 | ||
| 79 | if(ENABLE_LIBRESSL_INSTALL) | 74 | if(ENABLE_LIBRESSL_INSTALL) |
