1 cmake_minimum_required(VERSION 3.10)
16 find_package(cln REQUIRED CONFIG)
18 macro(cl_add_example srcname)
19 add_executable(${srcname} ${srcname}.cc)
20 target_link_libraries(${srcname} cln::cln)
23 foreach(_ex ${cln_examples})
24 cl_add_example(${_ex})
27 install(TARGETS pi RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")