add private includes for apps and tests
This commit is contained in:
parent
64b6951576
commit
bf368e58e7
@ -43,7 +43,7 @@ else()
|
||||
endif()
|
||||
|
||||
add_executable(nc ${NC_SRC})
|
||||
target_include_directories(nc PRIVATE . ./compat)
|
||||
target_include_directories(nc PRIVATE . ./compat ../../include/compat)
|
||||
target_link_libraries(nc tls ${OPENSSL_LIBS})
|
||||
|
||||
if(ENABLE_NC)
|
||||
|
@ -20,7 +20,7 @@ else()
|
||||
endif()
|
||||
|
||||
add_executable(ocspcheck ${OCSPCHECK_SRC})
|
||||
target_include_directories(ocspcheck PRIVATE . ./compat)
|
||||
target_include_directories(ocspcheck PRIVATE . ./compat ../../include/compat)
|
||||
target_link_libraries(ocspcheck tls ${OPENSSL_LIBS})
|
||||
|
||||
if(ENABLE_LIBRESSL_INSTALL)
|
||||
|
@ -68,7 +68,7 @@ else()
|
||||
endif()
|
||||
|
||||
add_executable(openssl ${OPENSSL_SRC})
|
||||
target_include_directories(openssl PRIVATE .)
|
||||
target_include_directories(openssl PRIVATE . ../../include/compat)
|
||||
target_link_libraries(openssl ${OPENSSL_LIBS})
|
||||
|
||||
if(ENABLE_LIBRESSL_INSTALL)
|
||||
|
@ -6,6 +6,7 @@ include_directories(
|
||||
../tls
|
||||
../apps/openssl
|
||||
../apps/openssl/compat
|
||||
../include/compat
|
||||
)
|
||||
|
||||
add_definitions(-D_PATH_SSL_CA_FILE=\"${CMAKE_CURRENT_SOURCE_DIR}/../apps/openssl/cert.pem\")
|
||||
|
Loading…
x
Reference in New Issue
Block a user