Skip to content
Snippets Groups Projects
CMakeLists.txt 490 B
set(INCLUDE_DIRECTORIES
  ${CMAKE_SOURCE_DIR}/algo/base  # For "algo/base/yaml/*.h" included as relative "yaml/?????.h" to fit install tree
)

add_library(CbmYamlInterface INTERFACE)

target_include_directories(CbmYamlInterface
  INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}
)

target_link_libraries(CbmYamlInterface
  INTERFACE GSL
            xpu
            fmt::fmt
            external::yaml-cpp
)

install(
  FILES
    BaseTypes.h
    Property.h
    Yaml.h
  DESTINATION
    include/yaml/
)