From 88b892f755f1a178a37ddf6b21dcb5f846a36e4d Mon Sep 17 00:00:00 2001 From: dawkagaming <147207983+dawkagaming@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:44:41 +0200 Subject: [PATCH 1/2] Install udev rules only if building DVStar module --- CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bcb5606be..b428c5d7d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3584,6 +3584,11 @@ else() install(FILES third_party/smartsdr-dsp/config/AetherDV.cfg DESTINATION ${CMAKE_INSTALL_BINDIR} ) + if(LINUX) + install(FILES packaging/linux/70-aethersdr-thumbdv.rules + DESTINATION ${CMAKE_INSTALL_LIBDIR}/udev/rules.d + ) + endif() endif() install(FILES ${CMAKE_CURRENT_BINARY_DIR}/packaging/linux/AetherSDR.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications @@ -3600,9 +3605,4 @@ else() install(FILES packaging/linux/aethersdr.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 ) - if(CMAKE_SYSTEM_NAME STREQUAL "Linux") - install(FILES packaging/linux/70-aethersdr-thumbdv.rules - DESTINATION lib/udev/rules.d - ) - endif() endif() From c36ea7f64183c1ee71cbdb2f6776853bc9b6e856 Mon Sep 17 00:00:00 2001 From: Dawid Kulas <147207983+dawkagaming@users.noreply.github.com> Date: Wed, 15 Jul 2026 13:35:09 +0200 Subject: [PATCH 2/2] Update CMakeLists.txt Co-authored-by: aethersdr-agent[bot] <273844287+aethersdr-agent[bot]@users.noreply.github.com> Signed-off-by: Dawid Kulas <147207983+dawkagaming@users.noreply.github.com> --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b428c5d7d..80c5b6bd8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3586,7 +3586,7 @@ else() ) if(LINUX) install(FILES packaging/linux/70-aethersdr-thumbdv.rules - DESTINATION ${CMAKE_INSTALL_LIBDIR}/udev/rules.d + DESTINATION lib/udev/rules.d ) endif() endif()