CsLibGuarded provides CMake targets:
find_package(CsLibGuarded CONFIG REQUIRED)
target_link_libraries(main PRIVATE CsLibGuarded::CsLibGuarded)