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:
@@ -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})
|
||||
|
||||
|
Reference in New Issue
Block a user