head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.4 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.2 pkgsrc-2025Q4-base:1.1; locks; strict; comment @# @; 1.1 date 2025.10.17.08.08.32; author wiz; state Exp; branches; next ; commitid dYWq3B6IS4SgGTeG; desc @@ 1.1 log @apngasm: fix build with boost 1.89 @ text @$NetBSD$ boost 1.89 made system header-only. --- lib/CMakeLists.txt.orig 2021-11-26 06:44:20.000000000 +0000 +++ lib/CMakeLists.txt @@@@ -85,10 +85,10 @@@@ target_link_libraries(${APNGASM_STATIC_L #endif () #set(Boost_USE_STATIC_LIBS OFF) #SET(CMAKE_FIND_LIBRARY_SUFFIXES .dll.a .a .lib ${CMAKE_FIND_LIBRARY_SUFFIXES}) -find_package(Boost REQUIRED COMPONENTS program_options regex system) +find_package(Boost REQUIRED COMPONENTS program_options regex) include_directories(SYSTEM ${Boost_INCLUDE_DIRS}) -target_link_libraries(${APNGASM_DYNAMIC_LIB_TARGET} Boost::program_options Boost::regex Boost::system) -target_link_libraries(${APNGASM_STATIC_LIB_TARGET} Boost::program_options Boost::regex Boost::system) +target_link_libraries(${APNGASM_DYNAMIC_LIB_TARGET} Boost::program_options Boost::regex) +target_link_libraries(${APNGASM_STATIC_LIB_TARGET} Boost::program_options Boost::regex) get_target_property(APNGASM_DYNAMIC_LIB_TARGET_NAME ${APNGASM_DYNAMIC_LIB_TARGET} OUTPUT_NAME) get_target_property(APNGASM_STATIC_LIB_TARGET_NAME ${APNGASM_STATIC_LIB_TARGET} OUTPUT_NAME) @