diff --git a/argento/CMakeLists.txt b/argento/CMakeLists.txt index 8a20da2..ab3c673 100644 --- a/argento/CMakeLists.txt +++ b/argento/CMakeLists.txt @@ -56,3 +56,7 @@ add_executable (argento # Qt: link needed libraries target_link_libraries(argento Qt5::Widgets Qt5::Sql) + +# CMake packaging system +install(TARGETS argento RUNTIME DESTINATION bin) +include (CPack) diff --git a/nicolodi/CMakeLists.txt b/nicolodi/CMakeLists.txt index 39b0e49..7fec3a0 100644 --- a/nicolodi/CMakeLists.txt +++ b/nicolodi/CMakeLists.txt @@ -40,3 +40,7 @@ add_executable (nicolodi # Qt: link needed libraries target_link_libraries(nicolodi Qt5::Widgets Qt5::Sql) + +# CMake packaging system +install(TARGETS nicolodi RUNTIME DESTINATION bin) +include (CPack)