[Paraview] custom reader and extra libs (blas) link problem

2010-11-04 Thread Felipe Bordeu
Hello, I have a custom reader, and I have to do a lot of computations to generate the data. I want to use blas to speed up the computations. How can I link my plugging to the blas library??? the cmake macro ADD_PARAVIEW_PLUGIN(.. does not have any option for extra libraries. and when I tr

Re: [Paraview] custom reader and extra libs (blas) link problem

2010-11-04 Thread Didier Roissé
Hello, to add an extra library you have to add this kind of lines in the CMAKE file : in order to find the library : FIND_LIBRARY(MY_LIBRARY mylib.so /usr/local/lib /usr/lib ) in order to link with the librarie TARGET_LINK_LIBRARIES(myReader ${MY_LIBRARY} ) Best regards, Didier 2010/11/4