From c211d97ecb351254a1020f2a9eecd47e65ad5484 Mon Sep 17 00:00:00 2001 From: kinichiro Date: Sat, 4 Dec 2021 10:49:59 +0900 Subject: 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. --- apps/ocspcheck/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/ocspcheck') 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() endif() add_executable(ocspcheck ${OCSPCHECK_SRC}) +target_include_directories(ocspcheck PUBLIC ../../include) target_include_directories(ocspcheck PRIVATE . ./compat ../../include/compat) target_link_libraries(ocspcheck tls ${OPENSSL_LIBS}) -- cgit v1.2.3-55-g6feb