Fix to link with LIBUSB support

Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 41926cc10a)
r14.0.x
OBATA Akio 5 years ago committed by Slávek Banko
parent 30933eadc2
commit fd8b96c3a9
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -280,6 +280,10 @@ set_property(
TOP_DATADIR="${DATA_INSTALL_DIR}/kstars"
)
if (WITH_LIBUSB)
set ( LIBAPOGEE_USB "libapogee_USB-static" )
endif (WITH_LIBUSB)
tde_add_executable( apogee_ppi
SOURCES
@ -290,12 +294,14 @@ tde_add_executable( apogee_ppi
indicom-static
lilxml-static
libapogee_PPI-static
${LIBAPOGEE_USB}
${ZLIB_LIBRARIES}
DEPENDENCIES
indicom-static
lilxml-static
libapogee_PPI-static
${LIBAPOGEE_USB}
DESTINATION ${BIN_INSTALL_DIR}
)

Loading…
Cancel
Save