Commit 8609dfe2 authored by Dick Hollenbeck's avatar Dick Hollenbeck

Throw exception if accessing a GITHUB library from build not supporting GITHUB.

parent 1eab1f7a
......@@ -79,8 +79,9 @@ PLUGIN* IO_MGR::PluginFind( PCB_FILE_T aFileType )
case GITHUB:
#if defined(BUILD_GITHUB_PLUGIN)
return new GITHUB_PLUGIN();
#else
THROW_IO_ERROR( "BUILD_GITHUB_PLUGIN not enabled in cmake build environment" );
#endif
; // GITHUB fall thru to NULL below
}
return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment