On Tue, Dec 13, 2011 at 3:31 PM, Utkarsh Ayachit <utkarsh.ayac...@kitware.com> wrote: > Oh, are you using FIND_PACKAGE(VTK) and FIND_PACKAGE(ParaView) in the > source? Bet that's what causing the problem. I'm not sure that's going > to work. Try just using ParaView OR VTK.
That certainly works. The only problem I have with that is I have to do a if(buildPlugin) use(Paraview) else use(VTK) endif() in my root CMakeLists.txt. It would seem nicer to do if(buildPlugin) add_subdirectory(Plugin) endif() and in the Plugin/CMakeLists.txt do use(ParaView) Is there a pattern more similar to this that would only use one of them? Thanks, David _______________________________________________ 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