ports/biology/vcflib/files/patch-CMakeLists.txt
Jason W. Bacon e02229c22c biology/vcflib: Update to 1.0.2
Switch to github submodules for most deps rather than patch build system
Fixes build on powerpc64 and aarch64, possibly others

Changes:        https://github.com/vcflib/vcflib/tags

PR:             259622
Reported by:    pkubaj
2021-11-04 09:23:17 -05:00

11 lines
745 B
Text

--- CMakeLists.txt.orig 2021-11-03 15:07:33 UTC
+++ CMakeLists.txt
@@ -230,7 +230,7 @@ if (NOT BUILD_ONLY_LIB)
foreach(BIN ${BINS})
add_executable(${BIN} src/${BIN}.cpp)
target_include_directories(${BIN} PUBLIC ${TABIXPP_LIBRARIES} ${HTSLIB_INCLUDE_DIRS})
- target_link_libraries(${BIN} vcflib tabixpp -DGIT_VERSION=0.9.0 ${TABIXPP_LIBRARIES} ${HTSLIB_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${ZLIB_LIBRARIES} ${LIBLZMA_LIBRARIES} ${BZIP2_LIBRARIES})
+ target_link_libraries(${BIN} vcflib tabix -DGIT_VERSION=0.9.0 ${TABIXPP_LIBRARIES} ${HTSLIB_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${ZLIB_LIBRARIES} ${LIBLZMA_LIBRARIES} ${BZIP2_LIBRARIES})
endforeach(BIN ${BINS})
install(TARGETS ${BINS} RUNTIME DESTINATION bin)
endif()