From 485c4e8e708336190ecf259f3e6cf254b4c52cd0 Mon Sep 17 00:00:00 2001 From: Martin Delille Date: Sat, 29 Apr 2023 11:29:37 +0200 Subject: [PATCH] Add install step --- CMakeLists.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d1d84fe..aa73fab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,3 +27,18 @@ target_include_directories(QtAwesome target_link_libraries(QtAwesome PUBLIC Qt${QT_VERSION_MAJOR}::Widgets ) + +install(TARGETS QtAwesome + RUNTIME DESTINATION bin + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib +) + +install(FILES + QtAwesome/QtAwesome.h + QtAwesome/QtAwesomeAnim.h + QtAwesome/QtAwesomeEnumGenerated.h + QtAwesome/QtAwesomeStringGenerated.h + DESTINATION include + ) +