Skip to content
This repository was archived by the owner on Oct 10, 2022. It is now read-only.

Commit 1cb8365

Browse files
committed
Update ASI SDK
Rename ASI udev file to avoid conflicts with INDI (better solution to come in 0.8) don't install QHY files if QHY driver is disabled
1 parent d9b8c0e commit 1cb8365

348 files changed

Lines changed: 125 additions & 54 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/drivers/qhy/CMakeLists.txt

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,17 @@ endif()
5151
# file(RENAME ${CMAKE_CURRENT_BINARY_DIR}/${QHY_LIBRARY_NAME} ${CMAKE_CURRENT_BINARY_DIR}/libqhy.so.${LIBQHY_VERSION})
5252
# endif()
5353

54-
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
55-
install(FILES QHYCCD_Linux/85-qhy.rules DESTINATION ${UDEVRULES_INSTALL_DIR})
56-
install(FILES ${QHY_LIBRARY} DESTINATION ${drivers_destination} RENAME libqhy.so.${LIBQHY_VERSION})
54+
add_driver(NAME qhy OS Linux Windows Darwin SRCS ${qhy_SOURCES} ${qhy_GENERATED_SOURCES} LINK ${QHY_LIBRARY} ${QHY_EXTRA_LIBRARIES})
5755

58-
file(GLOB QHY_FIRMWARE_FILES QHYCCD_Linux/firmware/*)
59-
install(FILES ${QHY_FIRMWARE_FILES} DESTINATION ${FIRMWARE_INSTALL_BASEDIR}/qhy)
60-
endif()
61-
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
62-
install(FILES ${QHY_LIBRARY} DESTINATION .)
56+
if(BUILD_DRIVER_qhy)
57+
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
58+
install(FILES QHYCCD_Linux/85-qhy.rules DESTINATION ${UDEVRULES_INSTALL_DIR})
59+
install(FILES ${QHY_LIBRARY} DESTINATION ${drivers_destination} RENAME libqhy.so.${LIBQHY_VERSION})
60+
61+
file(GLOB QHY_FIRMWARE_FILES QHYCCD_Linux/firmware/*)
62+
install(FILES ${QHY_FIRMWARE_FILES} DESTINATION ${FIRMWARE_INSTALL_BASEDIR}/qhy)
63+
endif()
64+
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
65+
install(FILES ${QHY_LIBRARY} DESTINATION .)
66+
endif()
6367
endif()
64-
add_driver(NAME qhy OS Linux Windows Darwin SRCS ${qhy_SOURCES} ${qhy_GENERATED_SOURCES} LINK ${QHY_LIBRARY} ${QHY_EXTRA_LIBRARIES})

src/drivers/zwo_asi/ASI_LINUX_MAC_SDK_v0.6.0414/lib/armv5/libASICamera.so

Lines changed: 0 additions & 1 deletion
This file was deleted.
Binary file not shown.

src/drivers/zwo_asi/ASI_LINUX_MAC_SDK_v0.6.0414/lib/armv5/libASICamera2.so

Lines changed: 0 additions & 1 deletion
This file was deleted.
Binary file not shown.
Binary file not shown.

src/drivers/zwo_asi/ASI_LINUX_MAC_SDK_v0.6.0414/lib/armv6/libASICamera.so

Lines changed: 0 additions & 1 deletion
This file was deleted.
Binary file not shown.
Binary file not shown.

src/drivers/zwo_asi/ASI_LINUX_MAC_SDK_v0.6.0414/lib/armv6/libASICamera2.so

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)