scope private/public headers when embedding into other projects

thanks to Cameron Palmer
This commit is contained in:
Brent Cook
2018-05-29 05:44:34 -05:00
parent 9b4044d8ed
commit 4fcfc82d83
7 changed files with 29 additions and 45 deletions

View File

@@ -1,9 +1,3 @@
include_directories(
.
../../include
../../include/compat
)
set(
OPENSSL_SRC
apps.c
@@ -74,6 +68,7 @@ else()
endif()
add_executable(openssl ${OPENSSL_SRC})
target_include_directories(openssl PRIVATE .)
target_link_libraries(openssl ${OPENSSL_LIBS})
if(ENABLE_LIBRESSL_INSTALL)