$NetBSD: patch-reformatter_CMakeLists.txt,v 1.1 2025/08/11 08:49:18 wiz Exp $ https://github.com/lloyd/yajl/pull/256 --- reformatter/CMakeLists.txt.orig 2014-03-19 04:58:29.000000000 +0000 +++ reformatter/CMakeLists.txt @@ -35,9 +35,7 @@ IF (NOT WIN32) ENDIF (NOT WIN32) # copy the binary into the output directory -GET_TARGET_PROPERTY(binPath json_reformat LOCATION) - ADD_CUSTOM_COMMAND(TARGET json_reformat POST_BUILD - COMMAND ${CMAKE_COMMAND} -E copy_if_different ${binPath} ${binDir}) + COMMAND ${CMAKE_COMMAND} -E copy_if_different $ ${binDir}) INSTALL(TARGETS json_reformat RUNTIME DESTINATION bin)