[Paraview] CMake error message when configuring with third party library

Dave Partyka dave.partyka at kitware.com
Fri Dec 17 10:45:50 EST 2010


Whatever is installing MXADataModels will need to export it.  Add an EXPORT
argument to that libraries install rule for example:

INSTALL(TARGETS vtkPVFilters
      EXPORT ${PV_INSTALL_EXPORT_NAME}
      RUNTIME DESTINATION ${PV_INSTALL_BIN_DIR} COMPONENT Runtime
      LIBRARY DESTINATION ${PV_INSTALL_LIB_DIR} COMPONENT Runtime
      ARCHIVE DESTINATION ${PV_INSTALL_LIB_DIR} COMPONENT Development)


On Fri, Dec 17, 2010 at 10:07 AM, Michael Jackson <
mike.jackson at bluequartz.net> wrote:

> I am building paraview with a few of my own plugins. One of the plugins
> depends on a library which gets built just fine. After updating from the
> 3.8.1 branch to master I am getting the following error message when running
> cmake:
>
> CMake Error: INSTALL(EXPORT "ParaViewTargets" ...) includes target
> "vtkPVFilters" which requires target "MXADataModel" that is not in the
> export set.
> -- Generating done
>
> What cmake code should I add to my plugin cmake code to fix this? INSTALL
> or EXPORT or something else.
>
> Any help greatly appreciated.
>
> Thanks
> ___________________________________________________________
> Mike Jackson                      www.bluequartz.net
> Principal Software Engineer       mike.jackson at bluequartz.net
> BlueQuartz Software               Dayton, Ohio
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20101217/f61727d4/attachment.htm>


More information about the ParaView mailing list