aboutsummaryrefslogtreecommitdiffstats
path: root/utils/alsoft-config
diff options
context:
space:
mode:
Diffstat (limited to 'utils/alsoft-config')
-rw-r--r--utils/alsoft-config/CMakeLists.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/utils/alsoft-config/CMakeLists.txt b/utils/alsoft-config/CMakeLists.txt
index 3851356b..65a70638 100644
--- a/utils/alsoft-config/CMakeLists.txt
+++ b/utils/alsoft-config/CMakeLists.txt
@@ -1,6 +1,5 @@
project(alsoft-config)
-find_package(Qt5Widgets)
if(Qt5Widgets_FOUND)
qt5_wrap_ui(UIS mainwindow.ui)
@@ -20,4 +19,13 @@ if(Qt5Widgets_FOUND)
if(TARGET build_version)
add_dependencies(alsoft-config build_version)
endif()
+
+ message(STATUS "Building configuration program")
+
+ if(ALSOFT_INSTALL_UTILS)
+ install(TARGETS alsoft-config
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
+ endif()
endif()