mirror of
https://github.com/archlinux/aur.git
synced 2025-12-10 08:05:42 +01:00
47 lines
1.3 KiB
Diff
47 lines
1.3 KiB
Diff
diff --git a/indi-dsi/CMakeLists.txt b/indi-dsi/CMakeLists.txt
|
|
index 00eb576a..97c6affb 100644
|
|
--- a/indi-dsi/CMakeLists.txt
|
|
+++ b/indi-dsi/CMakeLists.txt
|
|
@@ -8,9 +8,13 @@ include(GNUInstallDirs)
|
|
IF(APPLE)
|
|
set(FIRMWARE_INSTALL_DIR "/usr/local/lib/indi/DriverSupport/dsi")
|
|
ELSE(APPLE)
|
|
+IF(NOT RULES_INSTALL_DIR)
|
|
set(RULES_INSTALL_DIR "/lib/udev/rules.d")
|
|
+ENDIF()
|
|
+IF(NOT FIRMWARE_INSTALL_DIR)
|
|
set(FIRMWARE_INSTALL_DIR "/lib/firmware")
|
|
ENDIF()
|
|
+ENDIF()
|
|
set (DSI_VERSION_MAJOR 0)
|
|
set (DSI_VERSION_MINOR 4)
|
|
|
|
diff --git a/indi-orion-ssg3/CMakeLists.txt b/indi-orion-ssg3/CMakeLists.txt
|
|
index 745a02b1..6f974a37 100644
|
|
--- a/indi-orion-ssg3/CMakeLists.txt
|
|
+++ b/indi-orion-ssg3/CMakeLists.txt
|
|
@@ -7,8 +7,10 @@ include(GNUInstallDirs)
|
|
|
|
IF(APPLE)
|
|
ELSE(APPLE)
|
|
+IF(NOT RULES_INSTALL_DIR)
|
|
set(RULES_INSTALL_DIR "/lib/udev/rules.d")
|
|
ENDIF()
|
|
+ENDIF()
|
|
set (ORION_SSG3_VERSION_MAJOR 0)
|
|
set (ORION_SSG3_VERSION_MINOR 1)
|
|
|
|
diff --git a/indi-qsi/CMakeLists.txt b/indi-qsi/CMakeLists.txt
|
|
index 8a4abba6..24dfde34 100644
|
|
--- a/indi-qsi/CMakeLists.txt
|
|
+++ b/indi-qsi/CMakeLists.txt
|
|
@@ -6,7 +6,9 @@ LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../cmake_modules/")
|
|
include(GNUInstallDirs)
|
|
|
|
SET(CMAKE_CXX_STANDARD 11)
|
|
+IF (NOT RULES_INSTALL_DIR)
|
|
SET(RULES_INSTALL_DIR "/lib/udev/rules.d/")
|
|
+ENDIF()
|
|
|
|
find_package(CFITSIO REQUIRED)
|
|
find_package(INDI REQUIRED)
|