aboutsummaryrefslogtreecommitdiffstats
path: root/utils/alsoft-config
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-04-15 00:09:45 -0700
committerChris Robinson <[email protected]>2020-04-15 00:09:45 -0700
commit3a5a9e90d07c9a0e617e73e3beacdf75ba396e92 (patch)
tree9fca1f11365a7c943b448867efa55b479294e4ee /utils/alsoft-config
parent8ef8b5e21576798d61f744de9c6e4d18df4b3c6b (diff)
Fix installing alsoft-config
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()