pip_jmespathΒΆ
hunter_add_package(pip_jmespath)
find_package(pip_jmespath CONFIG REQUIRED)
set(test_command "import jmespath")
execute_process(
COMMAND
${Python_EXECUTABLE} -c ${test_command}
RESULT_VARIABLE
result
)
if(NOT result EQUAL "0")
message(FATAL_ERROR "Failed")
endif()