libsbml provides CMake targets:

  find_package(libsbml CONFIG REQUIRED)
  target_link_libraries(main PRIVATE libsbml)
