$NetBSD: patch-verify_CMakeLists.txt,v 1.1 2025/08/11 08:49:18 wiz Exp $ https://github.com/lloyd/yajl/pull/256 --- verify/CMakeLists.txt.orig 2014-03-19 04:58:29.000000000 +0000 +++ verify/CMakeLists.txt @@ -29,9 +29,7 @@ ADD_EXECUTABLE(json_verify ${SRCS}) TARGET_LINK_LIBRARIES(json_verify yajl_s) # copy in the binary -GET_TARGET_PROPERTY(binPath json_verify LOCATION) - ADD_CUSTOM_COMMAND(TARGET json_verify POST_BUILD - COMMAND ${CMAKE_COMMAND} -E copy_if_different ${binPath} ${binDir}) + COMMAND ${CMAKE_COMMAND} -E copy_if_different $ ${binDir}) INSTALL(TARGETS json_verify RUNTIME DESTINATION bin)