head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.11.23.08.07.34; author wiz; state Exp; branches; next ; commitid iQXAVQX1b41KKy4H; desc @@ 1.1 log @sra-tools: fix build with cmake 4.5 While here, add a patch to fix build on NetBSD. @ text @$NetBSD$ Fix build with cmake 4.5. --- ncbi-vdb/libs/kfg/CMakeLists.txt.orig 2026-11-23 08:00:20.622512504 +0000 +++ ncbi-vdb/libs/kfg/CMakeLists.txt @@@@ -57,7 +57,7 @@@@ if ( SINGLE_CONFIG AND NOT _NCBIVDB_CFG_PACKAGING) #set_source_files_properties(${KfgScanner} PROPERTIES COMPILE_FLAGS -D__STDC_VERSION__=199901L) if ( SINGLE_CONFIG AND NOT _NCBIVDB_CFG_PACKAGING) - install( SCRIPT CODE + install( CODE "execute_process(COMMAND /bin/bash -c \"${CMAKE_CURRENT_SOURCE_DIR}/install.sh ${CMAKE_SOURCE_DIR}/interfaces/kfg/ncbi ${CMAKE_INSTALL_PREFIX}/lib64/ncbi /etc/ncbi ${CMAKE_SOURCE_DIR}/interfaces/kfg/ncbi/kfgsums \" )" ) endif() @