From 782ac655cc7c3c69a4855bb234bc03a424154dc4 Mon Sep 17 00:00:00 2001 From: Ayoub Zaki Date: Wed, 20 Nov 2024 12:33:18 +0100 Subject: [PATCH] cmake: add install --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5775c4b..170f5e6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,6 +45,9 @@ add_executable(bmap-writer bmap-writer.cpp) # Link the libraries target_link_libraries(bmap-writer ${LIBXML2_LIBRARIES} ${OPENSSL_LIBRARIES} ${ZLIB_LIBRARIES} ${LIBLZMA_LIBRARIES}) +# Specify the install rules +install(TARGETS bmap-writer DESTINATION bin) + # Enable testing enable_testing() add_test(NAME bmap-writer-test COMMAND ./bmap-writer-test.sh)