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.
This commit is contained in:
kinichiro
2021-12-04 10:49:59 +09:00
parent f2026bb324
commit c211d97ecb
7 changed files with 4 additions and 54 deletions

View File

@@ -44,6 +44,7 @@ else()
endif()
add_executable(nc ${NC_SRC})
target_include_directories(nc PUBLIC ../../include)
target_include_directories(nc PRIVATE . ./compat ../../include/compat)
target_link_libraries(nc ${LIBTLS_LIBS})