Use CMAKE_CURRENT_LIST_DIR instead of YARP_CMAKE
Try to fix windows packaging script