mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix cmake build issues (#5670)
* Fix cmake build issues * Temporary force linking of external object
This commit is contained in:
@@ -1709,6 +1709,12 @@ bool RiaApplication::generateCode( const QString& fileName, QString* errMsg )
|
||||
|
||||
std::string fileExt = QFileInfo( fileName ).suffix().toStdString();
|
||||
|
||||
{
|
||||
// TODO: Manually instantiate the markdown generator until cmake issues are fixed
|
||||
// This will make sure the markdown generator is registered in the factory in the cafPdmScripting library
|
||||
caf::PdmMarkdownGenerator testObj;
|
||||
}
|
||||
|
||||
std::unique_ptr<caf::PdmCodeGenerator> generator( caf::PdmCodeGeneratorFactory::instance()->create( fileExt ) );
|
||||
if ( !generator )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user