Files
zoneminder/dep/span-lite/CMakeLists.txt
Peter Keresztes Schmidt 4d18c515dc dep/span-lite: Remove erroneously added zm-dependency-interface
This is a header-only library so there is no target to compile for which warnings could be disabled.
Moreover a target dependency with INTERFACE visibility propagates to the dependants. This disabled warnings further down the chain.
2021-04-29 00:08:40 +02:00

6 lines
172 B
CMake

add_library(span-lite INTERFACE)
add_library(martinmoene::span-lite ALIAS span-lite)
target_include_directories(span-lite INTERFACE
${CMAKE_CURRENT_SOURCE_DIR}/include)