aboutsummaryrefslogtreecommitdiff
path: root/apps/ocspcheck
diff options
context:
space:
mode:
authorkinichiro <kinichiro.inoguchi@gmail.com>2021-12-04 10:49:59 +0900
committerkinichiro <kinichiro.inoguchi@gmail.com>2021-12-04 14:36:39 +0900
commitc211d97ecb351254a1020f2a9eecd47e65ad5484 (patch)
tree49a84019df276ce5d3cc552890dcb24cd8503133 /apps/ocspcheck
parentf2026bb3246cb45bb2fe0d3d93461149862d8d0b (diff)
downloadportable-c211d97ecb351254a1020f2a9eecd47e65ad5484.tar.gz
portable-c211d97ecb351254a1020f2a9eecd47e65ad5484.tar.bz2
portable-c211d97ecb351254a1020f2a9eecd47e65ad5484.zip
Remove unneeded target_include_directories with cmake
This could remove recurring of the same statement for include directories. Instead of this removals, apps/* and tests should have include path that had been provided by INTERFACE_INCLUDE_DIRECTORIES of target libs and internal static libs.
Diffstat (limited to 'apps/ocspcheck')
-rw-r--r--apps/ocspcheck/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/ocspcheck/CMakeLists.txt b/apps/ocspcheck/CMakeLists.txt
index 43b091a..249f0f4 100644
--- a/apps/ocspcheck/CMakeLists.txt
+++ b/apps/ocspcheck/CMakeLists.txt
@@ -28,6 +28,7 @@ else()
28endif() 28endif()
29 29
30add_executable(ocspcheck ${OCSPCHECK_SRC}) 30add_executable(ocspcheck ${OCSPCHECK_SRC})
31target_include_directories(ocspcheck PUBLIC ../../include)
31target_include_directories(ocspcheck PRIVATE . ./compat ../../include/compat) 32target_include_directories(ocspcheck PRIVATE . ./compat ../../include/compat)
32target_link_libraries(ocspcheck tls ${OPENSSL_LIBS}) 33target_link_libraries(ocspcheck tls ${OPENSSL_LIBS})
33 34