aboutsummaryrefslogtreecommitdiff
path: root/apps/ocspcheck/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'apps/ocspcheck/CMakeLists.txt')
-rw-r--r--apps/ocspcheck/CMakeLists.txt12
1 files changed, 8 insertions, 4 deletions
diff --git a/apps/ocspcheck/CMakeLists.txt b/apps/ocspcheck/CMakeLists.txt
index 2dddb6e..43eebdf 100644
--- a/apps/ocspcheck/CMakeLists.txt
+++ b/apps/ocspcheck/CMakeLists.txt
@@ -8,9 +8,9 @@ set(
8 8
9check_function_exists(memmem HAVE_MEMMEM) 9check_function_exists(memmem HAVE_MEMMEM)
10if(HAVE_MEMMEM) 10if(HAVE_MEMMEM)
11 add_definitions(-DHAVE_MEMMEM) 11 add_definitions(-DHAVE_MEMMEM)
12else() 12else()
13 set(OCSPCHECK_SRC ${OCSPCHECK_SRC} compat/memmem.c) 13 set(OCSPCHECK_SRC ${OCSPCHECK_SRC} compat/memmem.c)
14endif() 14endif()
15 15
16if(NOT "${OPENSSLDIR}" STREQUAL "") 16if(NOT "${OPENSSLDIR}" STREQUAL "")
@@ -20,8 +20,12 @@ else()
20endif() 20endif()
21 21
22add_executable(ocspcheck ${OCSPCHECK_SRC}) 22add_executable(ocspcheck ${OCSPCHECK_SRC})
23target_include_directories(ocspcheck PUBLIC ../../include) 23target_include_directories(ocspcheck
24target_include_directories(ocspcheck PRIVATE . ./compat ../../include/compat) 24 PRIVATE
25 ../../include/compat
26 PUBLIC
27 ../../include
28 ${CMAKE_BINARY_DIR}/include)
25target_link_libraries(ocspcheck tls ${OPENSSL_LIBS}) 29target_link_libraries(ocspcheck tls ${OPENSSL_LIBS})
26 30
27if(ENABLE_LIBRESSL_INSTALL) 31if(ENABLE_LIBRESSL_INSTALL)