3 if(
"${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.5)
4 message(FATAL_ERROR
"CMake >= 2.6.0 required")
8 #---------------------------------------------------------------- 9 # Generated CMake target import file. 10 #---------------------------------------------------------------- 12 # Commands may need to know the format version. 13 set(CMAKE_IMPORT_FILE_VERSION 1)
15 # Protect against multiple inclusion, which would fail when already imported targets are added once more.
17 set(_targetsNotDefined)
19 foreach(_expectedTarget ParaView::AdaptorsPython ParaView::Catalyst ParaView::Catalyst-
private-kit-links ParaView::AdaptorsPhasta ParaView::AdaptorsParticle ParaView::PythonCatalyst ParaView::AdaptorsPagosa ParaView::AdaptorsNPIC ParaView::AdaptorsCam ParaView::AdaptorsCamPython ParaView::AdaptorsCTH ParaView::ClientsWeb ParaView::InSitu)
20 list(APPEND _expectedTargets ${_expectedTarget})
21 if(NOT TARGET ${_expectedTarget})
22 list(APPEND _targetsNotDefined ${_expectedTarget})
24 if(TARGET ${_expectedTarget})
25 list(APPEND _targetsDefined ${_expectedTarget})
28 if("${_targetsDefined}
" STREQUAL "${_expectedTargets}
") 29 unset(_targetsDefined) 30 unset(_targetsNotDefined) 31 unset(_expectedTargets) 32 set(CMAKE_IMPORT_FILE_VERSION) 36 if(NOT "${_targetsDefined}
" STREQUAL "") 37 message(FATAL_ERROR "Some (but not all) targets in
this export
set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n
") 39 unset(_targetsDefined) 40 unset(_targetsNotDefined) 41 unset(_expectedTargets) 44 # Compute the installation prefix relative to this file. 45 get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}
" PATH) 46 get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}
" PATH) 47 get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}
" PATH) 48 get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}
" PATH) 49 if(_IMPORT_PREFIX STREQUAL "/
") 50 set(_IMPORT_PREFIX "") 53 # Create imported target ParaView::AdaptorsPython 54 add_library(ParaView::AdaptorsPython INTERFACE IMPORTED) 56 # Create imported target ParaView::Catalyst 57 add_library(ParaView::Catalyst SHARED IMPORTED) 59 set_target_properties(ParaView::Catalyst PROPERTIES 60 INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/paraview-5.13
" 61 INTERFACE_LINK_LIBRARIES "VTK::CommonCore;VTK::PythonUsed
" 64 # Create imported target ParaView::Catalyst-private-kit-links 65 add_library(ParaView::Catalyst-private-kit-links INTERFACE IMPORTED) 67 set_target_properties(ParaView::Catalyst-private-kit-links PROPERTIES 68 INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:ParaView::paraview_plugins>
" 71 # Create imported target ParaView::AdaptorsPhasta 72 add_library(ParaView::AdaptorsPhasta SHARED IMPORTED) 74 set_target_properties(ParaView::AdaptorsPhasta PROPERTIES 75 INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/paraview-5.13
" 76 INTERFACE_LINK_LIBRARIES "ParaView::Catalyst;VTK::CommonCore;VTK::CommonDataModel;VTK::PythonUsed
" 79 # Create imported target ParaView::AdaptorsParticle 80 add_library(ParaView::AdaptorsParticle SHARED IMPORTED) 82 set_target_properties(ParaView::AdaptorsParticle PROPERTIES 83 INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/paraview-5.13
" 84 INTERFACE_LINK_LIBRARIES "ParaView::Catalyst;ParaView::RemotingViews;VTK::CommonCore;VTK::CommonDataModel;VTK::IOImage;VTK::IOParallelXML;VTK::ParallelMPI;VTK::RenderingCore;VTK::RenderingOpenGL2;VTK::PythonUsed
" 87 # Create imported target ParaView::PythonCatalyst 88 add_library(ParaView::PythonCatalyst SHARED IMPORTED) 90 set_target_properties(ParaView::PythonCatalyst PROPERTIES 91 INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/paraview-5.13
" 92 INTERFACE_LINK_LIBRARIES "ParaView::Catalyst;VTK::PythonInterpreter;ParaView::PythonInterpreterPath;VTK::PythonUsed
" 95 # Create imported target ParaView::AdaptorsPagosa 96 add_library(ParaView::AdaptorsPagosa SHARED IMPORTED) 98 set_target_properties(ParaView::AdaptorsPagosa PROPERTIES 99 INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/paraview-5.13
" 100 INTERFACE_LINK_LIBRARIES "ParaView::Catalyst;VTK::CommonDataModel;VTK::PythonUsed
" 103 # Create imported target ParaView::AdaptorsNPIC 104 add_library(ParaView::AdaptorsNPIC SHARED IMPORTED) 106 set_target_properties(ParaView::AdaptorsNPIC PROPERTIES 107 INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/paraview-5.13
" 108 INTERFACE_LINK_LIBRARIES "ParaView::Catalyst;VTK::CommonDataModel;VTK::CommonCore;VTK::ParallelMPI;VTK::PythonUsed
" 111 # Create imported target ParaView::AdaptorsCam 112 add_library(ParaView::AdaptorsCam SHARED IMPORTED) 114 set_target_properties(ParaView::AdaptorsCam PROPERTIES 115 INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/paraview-5.13
" 116 INTERFACE_LINK_LIBRARIES "ParaView::Catalyst;ParaView::PythonCatalyst;VTK::CommonDataModel;VTK::CommonCore;VTK::PythonUsed
" 119 # Create imported target ParaView::AdaptorsCamPython 120 add_library(ParaView::AdaptorsCamPython INTERFACE IMPORTED) 122 set_target_properties(ParaView::AdaptorsCamPython PROPERTIES 123 INTERFACE_LINK_LIBRARIES "ParaView::AdaptorsCam
" 126 # Create imported target ParaView::AdaptorsCTH 127 add_library(ParaView::AdaptorsCTH SHARED IMPORTED) 129 set_target_properties(ParaView::AdaptorsCTH PROPERTIES 130 INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/paraview-5.13
" 131 INTERFACE_LINK_LIBRARIES "ParaView::Catalyst;ParaView::PythonCatalyst;VTK::CommonCore;VTK::CommonDataModel;VTK::CommonExecutionModel;VTK::ParallelMPI;VTK::PythonUsed
" 134 # Create imported target ParaView::ClientsWeb 135 add_library(ParaView::ClientsWeb SHARED IMPORTED) 137 set_target_properties(ParaView::ClientsWeb PROPERTIES 138 INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/paraview-5.13
" 139 INTERFACE_LINK_LIBRARIES "VTK::WebCore;VTK::WebGLExporter;VTK::PythonUsed
" 142 # Create imported target ParaView::InSitu 143 add_library(ParaView::InSitu SHARED IMPORTED) 145 set_target_properties(ParaView::InSitu PROPERTIES 146 INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/paraview-5.13
" 147 INTERFACE_LINK_LIBRARIES "VTK::CommonCore;VTK::PythonUsed
" 150 if(CMAKE_VERSION VERSION_LESS 3.0.0) 151 message(FATAL_ERROR "This file relies
on consumers
using CMake 3.0.0 or greater.
") 154 # Load information for each installed configuration. 155 get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}
" PATH) 156 file(GLOB CONFIG_FILES "${_DIR}/ParaViewClients-targets-*.cmake
") 157 foreach(f ${CONFIG_FILES}) 161 # Cleanup temporary variables. 164 # Loop over all imported files and verify that they actually exist 165 foreach(target ${_IMPORT_CHECK_TARGETS} ) 166 foreach(file ${_IMPORT_CHECK_FILES_FOR_${target}} ) 167 if(NOT EXISTS "${file}
" ) 168 message(FATAL_ERROR "The imported
target \
"${target}\" references the file 170 but this file does not exist. Possible reasons include: 171 * The file was deleted, renamed, or moved to another location. 172 * An install or uninstall procedure did not complete successfully. 173 * The installation package was faulty and contained 174 \"${CMAKE_CURRENT_LIST_FILE}\" 175 but not all the files it references. 179 unset(_IMPORT_CHECK_FILES_FOR_${
target})
181 unset(_IMPORT_CHECK_TARGETS)
183 # Make sure the targets which have been exported in some other 185 unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
186 foreach(_target
"VTK::CommonCore" "VTK::PythonUsed" "ParaView::paraview_plugins" "VTK::CommonDataModel" "ParaView::RemotingViews" "VTK::IOImage" "VTK::IOParallelXML" "VTK::ParallelMPI" "VTK::RenderingCore" "VTK::RenderingOpenGL2" "VTK::PythonInterpreter" "ParaView::PythonInterpreterPath" "VTK::CommonExecutionModel" "VTK::WebCore" "VTK::WebGLExporter" )
187 if(NOT TARGET
"${_target}" )
188 set(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets
"${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets} ${_target}")
192 if(DEFINED ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
193 if(CMAKE_FIND_PACKAGE_NAME)
194 set( ${CMAKE_FIND_PACKAGE_NAME}_FOUND FALSE)
195 set( ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE
"The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}")
197 message(FATAL_ERROR
"The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}")
200 unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
202 # Commands beyond
this point should not need to know the
version.
203 set(CMAKE_IMPORT_FILE_VERSION)
boost::graph_traits< vtkGraph *>::vertex_descriptor target(boost::graph_traits< vtkGraph *>::edge_descriptor e, vtkGraph *)