launch-darkly-server provides CMake targets:
find_package(ldserverapi CONFIG REQUIRED)
target_link_libraries(main PRIVATE ldserverapi::ldserverapi)