How to get the list of needed Catalyst libraries using CMake?

Hi everyone,

I am trying to link one of my simulations to ParaView Catalyst. What I do in my CMake file is something like this:

find_package(ParaView 4.3 COMPONENTS  vtkPVPythonCatalyst)
if(ParaView_FOUND)
    message(STATUS "ParaView found")
    include("${PARAVIEW_USE_FILE}")
    list(APPEND NEEDED_LIBRARIES ${PARAVIEW_LIBRARIES})
    include_directories(${ParaView_INCLUDE_DIRS})
    add_definitions("-DUSE_CATALYST")

    message(STATUS "ParaView  linclude directories: ${PARAVIEW_INCLUDE_DIRS}")
    message(STATUS "ParaView libraries: ${ParaView_LIBRARIES}")
    message(STATUS "ParaView library dires: ${ParaView_LIBRARY_DIRS}")

else(ParaView_FOUND)
    message(STATUS "ParaView not found")
endif(ParaView_FOUND)

I am using the NEEDED_LIBRARIES variable to collect all of my dependent libraries and link them to my simulation. After running the cmake file, I see that the value of ParaView_LIBRARIES and ParaView_LIBRARY_DIRS are empty. I checked these two variable: PARAVIEW_LIBRARIES and PARAVIEW_LIBRARY_DIRS. But they are empty too.

Now, the question is that how I can have the list of libraries needed for linking to a simulation. I checked some ParaView samples, but in all of them the libraries are mentioned explicitly in the code like this:

target_link_libraries(<target> vtkPVPythonCatalyst vtkParallelMPI)

Thanks,
Chou