pip_wraptΒΆ

hunter_add_package(pip_wrapt)
find_package(pip_wrapt CONFIG REQUIRED)

set(test_command "import wrapt")

execute_process(
    COMMAND
    ${Python_EXECUTABLE} -c ${test_command}
    RESULT_VARIABLE
    result
)

if(NOT result EQUAL "0")
  message(FATAL_ERROR "Failed")
endif()