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 LegacyGhostCellsGeneratorFilters LegacyGhostCellsGeneratorParallel)
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 # Create imported target LegacyGhostCellsGeneratorFilters 45 add_library(LegacyGhostCellsGeneratorFilters SHARED IMPORTED) 47 set_target_properties(LegacyGhostCellsGeneratorFilters PROPERTIES 48 INTERFACE_INCLUDE_DIRECTORIES "/builds/gitlab-kitware-sciviz-ci/build/Plugins/LegacyGhostCellsGenerator/Filters;/builds/gitlab-kitware-sciviz-ci/Plugins/LegacyGhostCellsGenerator/Filters
" 49 INTERFACE_LINK_LIBRARIES "VTK::CommonExecutionModel
" 52 # Create imported target LegacyGhostCellsGeneratorParallel 53 add_library(LegacyGhostCellsGeneratorParallel SHARED IMPORTED) 55 set_target_properties(LegacyGhostCellsGeneratorParallel PROPERTIES 56 INTERFACE_INCLUDE_DIRECTORIES "/builds/gitlab-kitware-sciviz-ci/build/Plugins/LegacyGhostCellsGenerator/Parallel;/builds/gitlab-kitware-sciviz-ci/Plugins/LegacyGhostCellsGenerator/Parallel
" 57 INTERFACE_LINK_LIBRARIES "LegacyGhostCellsGeneratorFilters;VTK::CommonExecutionModel;VTK::CommonSystem;VTK::FiltersCore;VTK::FiltersGeneral;VTK::FiltersGeometry;VTK::ParallelMPI
" 60 # Import target "LegacyGhostCellsGeneratorFilters
" for configuration "Debug
" 61 set_property(TARGET LegacyGhostCellsGeneratorFilters APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG) 62 set_target_properties(LegacyGhostCellsGeneratorFilters PROPERTIES 63 IMPORTED_LINK_DEPENDENT_LIBRARIES_DEBUG "VTK::CommonCore;VTK::CommonDataModel;VTK::CommonMisc;VTK::ParallelCore
" 64 IMPORTED_LOCATION_DEBUG "/builds/gitlab-kitware-sciviz-ci/build/lib64/paraview-5.13/plugins/LegacyGhostCellsGenerator/libLegacyGhostCellsGeneratorFilters.so
" 65 IMPORTED_SONAME_DEBUG "libLegacyGhostCellsGeneratorFilters.so
" 68 # Import target "LegacyGhostCellsGeneratorParallel
" for configuration "Debug
" 69 set_property(TARGET LegacyGhostCellsGeneratorParallel APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG) 70 set_target_properties(LegacyGhostCellsGeneratorParallel PROPERTIES 71 IMPORTED_LINK_DEPENDENT_LIBRARIES_DEBUG "VTK::CommonCore;VTK::CommonDataModel;VTK::CommonMisc;VTK::ParallelCore
" 72 IMPORTED_LOCATION_DEBUG "/builds/gitlab-kitware-sciviz-ci/build/lib64/paraview-5.13/plugins/LegacyGhostCellsGenerator/libLegacyGhostCellsGeneratorParallel.so
" 73 IMPORTED_SONAME_DEBUG "libLegacyGhostCellsGeneratorParallel.so
" 76 # Make sure the targets which have been exported in some other 78 unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) 79 foreach(_target "VTK::CommonExecutionModel
" "VTK::CommonSystem
" "VTK::FiltersCore
" "VTK::FiltersGeneral
" "VTK::FiltersGeometry
" "VTK::ParallelMPI
" ) 80 if(NOT TARGET "${_target}
" ) 81 set(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets "${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets} ${_target}
") 85 if(DEFINED ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) 86 if(CMAKE_FIND_PACKAGE_NAME) 87 set( ${CMAKE_FIND_PACKAGE_NAME}_FOUND FALSE) 88 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}
") 90 message(FATAL_ERROR "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}
") 93 unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) 95 # Commands beyond this point should not need to know the version. 96 set(CMAKE_IMPORT_FILE_VERSION)