mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2025-12-23 22:37:53 -05:00
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.
6 lines
172 B
CMake
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)
|