def _check_skbuild_parameters(skbuild_kw):
    cmake_install_dir = skbuild_kw['cmake_install_dir']
    if os.path.isabs(cmake_install_dir):
        raise SKBuildError("\n  setup parameter 'cmake_install_dir' is set to an absolute path. A relative path is expected.\n    Project Root  : {}\n    CMake Install Directory: {}\n".format(os.getcwd(), cmake_install_dir))
    cmake_source_dir = skbuild_kw['cmake_source_dir']
    if (not os.path.exists(os.path.abspath(cmake_source_dir))):
        raise SKBuildError("\n  setup parameter 'cmake_source_dir' set to a nonexistent directory.\n    Project Root  : {}\n    CMake Source Directory: {}\n".format(os.getcwd(), cmake_source_dir))
def _check_skbuild_parameters(skbuild_kw):
    cmake_install_dir = skbuild_kw['cmake_install_dir']
    if os.path.isabs(cmake_install_dir):
        raise SKBuildError("\n  setup parameter 'cmake_install_dir' is set to an absolute path. A relative path is expected.\n    Project Root  : {}\n    CMake Install Directory: {}\n".format(os.getcwd(), cmake_install_dir))
    cmake_source_dir = skbuild_kw['cmake_source_dir']
    if (not os.path.exists(os.path.abspath(cmake_source_dir))):
        raise SKBuildError("\n  setup parameter 'cmake_source_dir' set to a nonexistent directory.\n    Project Root  : {}\n    CMake Source Directory: {}\n".format(os.getcwd(), cmake_source_dir))