File remove-openssag.patch of Package phd2

--- phd2/thirdparty/thirdparty.cmake.orig	2026-03-05 14:02:31.825212269 +0100
+++ phd2/thirdparty/thirdparty.cmake	2026-03-05 14:02:38.706256327 +0100
@@ -1186,23 +1186,6 @@
         remove_definitions(-DHAVE_QHY_CAMERA=1)
       endif()
     endif()
-
-    set(LIBOPENSSAG openssag)
-    set(libopenssag_dir ${thirdparty_dir}/${LIBOPENSSAG}/src)
-    include_directories(${libopenssag_dir})
-    set(libOPENSSAG_SRC
-      ${libopenssag_dir}/firmware.h
-      ${libopenssag_dir}/loader.cpp
-      ${libopenssag_dir}/openssag_priv.h
-      ${libopenssag_dir}/openssag.cpp
-      ${libopenssag_dir}/openssag.h
-    )
-    add_library(OpenSSAG ${libOPENSSAG_SRC})
-    target_include_directories(OpenSSAG PRIVATE ${thirdparty_dir}/${LIBOPENSSAG}/src)
-    add_definitions(-DHAVE_OPENSSAG_CAMERA=1)
-    list(APPEND PHD_LINK_EXTERNAL OpenSSAG)
-    set_property(TARGET OpenSSAG PROPERTY FOLDER "Thirdparty/")
-
   endif()  # OPENSOURCE_ONLY
 
   # math library is needed, and should be one of the last things to link to here
openSUSE Build Service is sponsored by