Description: fix a couple of issues caught while working on 1.0.11~pre2.
 There is one case of install() statement having something unexpected in its
 target, and removing the entry does not seem to cause anything obvious to be
 lost.  The other issue resolved is the proper capture of the tabix header in
 /usr/include, which has a slightly different name from the embedded copy.

Author: Étienne Mollier <emollier@debian.org>
Forwarded: no
Last-Update: 2024-05-04
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- libvcflib.orig/CMakeLists.txt
+++ libvcflib/CMakeLists.txt
@@ -134,7 +134,7 @@
   set(TABIXPP_LOCAL contrib/tabixpp)
   include_directories(contrib/tabixpp)
   set(tabixpp_SOURCE
-    contrib/tabixpp/tabix.cpp
+    /usr/include/tabix.hpp
   )
 endif()
 
@@ -597,7 +597,7 @@
 # ---- Install
 
 install(TARGETS vcflib ARCHIVE DESTINATION ${CMAKE_INSTALL_BINDIR})
-install(TARGETS ${WFALIB} ARCHIVE DESTINATION ${CMAKE_INSTALL_BINDIR})
+#install(TARGETS ${WFALIB} ARCHIVE DESTINATION ${CMAKE_INSTALL_BINDIR})
 
 install(FILES ${INCLUDES} DESTINATION include/vcflib)
 
