With the following addition it is extremely easy to add cereal to CMake based projects:
ADD_LIBRARY(cereal INTERFACE)
TARGET_INCLUDE_DIRECTORIES(
cereal
INTERFACE include
)
When a project uses TARGET_LINK_LIBRARIES(target ... cereal ... ), include paths will be set automatically for the given target.
With the following addition it is extremely easy to add cereal to CMake based projects:
ADD_LIBRARY(cereal INTERFACE)
TARGET_INCLUDE_DIRECTORIES(
cereal
INTERFACE include
)
When a project uses TARGET_LINK_LIBRARIES(target ... cereal ... ), include paths will be set automatically for the given target.