10 lines
258 B
CMake
10 lines
258 B
CMake
add_executable(edbg edbg.cpp)
|
|
target_link_libraries(edbg PRIVATE edbg::libedbg)
|
|
|
|
include(GNUInstallDirs)
|
|
install(
|
|
TARGETS edbg
|
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
|
)
|
|
|
|
target_link_libraries(edbg PRIVATE edbg::libedbg PkgConfig::libedit) |