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 if(CMAKE_VERSION VERSION_LESS 3.0.0)
16 message(FATAL_ERROR
"This file relies on consumers using CMake 3.0.0 or greater.")
19 # Protect against multiple inclusion, which would fail when already imported targets are added once more. 21 set(_targetsNotDefined)
23 foreach(_expectedTarget ParaView::vtkPVIncubatorCorePython ParaView::pvincubatorpythonmodules)
24 list(APPEND _expectedTargets ${_expectedTarget})
25 if(NOT TARGET ${_expectedTarget})
26 list(APPEND _targetsNotDefined ${_expectedTarget})
28 if(TARGET ${_expectedTarget})
29 list(APPEND _targetsDefined ${_expectedTarget})
32 if("${_targetsDefined}
" STREQUAL "${_expectedTargets}
") 33 unset(_targetsDefined) 34 unset(_targetsNotDefined) 35 unset(_expectedTargets) 36 set(CMAKE_IMPORT_FILE_VERSION) 40 if(NOT "${_targetsDefined}
" STREQUAL "") 41 message(FATAL_ERROR "Some (but not all) targets in
this export
set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n
") 43 unset(_targetsDefined) 44 unset(_targetsNotDefined) 45 unset(_expectedTargets) 48 # Create imported target ParaView::vtkPVIncubatorCorePython 49 add_library(ParaView::vtkPVIncubatorCorePython MODULE IMPORTED) 51 # Create imported target ParaView::pvincubatorpythonmodules 52 add_library(ParaView::pvincubatorpythonmodules INTERFACE IMPORTED) 54 set_target_properties(ParaView::pvincubatorpythonmodules PROPERTIES 55 INTERFACE_INCLUDE_DIRECTORIES "/builds/gitlab-kitware-sciviz-ci/build/include/paraview-5.13/pvincubatorpythonmodules
" 56 INTERFACE_LINK_LIBRARIES "VTK::vtkpythonmodules
" 59 # Import target "ParaView::vtkPVIncubatorCorePython
" for configuration "Debug
" 60 set_property(TARGET ParaView::vtkPVIncubatorCorePython APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG) 61 set_target_properties(ParaView::vtkPVIncubatorCorePython PROPERTIES 62 IMPORTED_COMMON_LANGUAGE_RUNTIME_DEBUG "" 63 IMPORTED_LOCATION_DEBUG "/builds/gitlab-kitware-sciviz-ci/build/lib64/python3.10/site-packages/paraview/incubator/vtkPVIncubatorCore.so
" 64 IMPORTED_NO_SONAME_DEBUG "TRUE
" 67 # Make sure the targets which have been exported in some other 69 unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) 70 foreach(_target "VTK::vtkpythonmodules
" ) 71 if(NOT TARGET "${_target}
" ) 72 set(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets "${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets} ${_target}
") 76 if(DEFINED ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) 77 if(CMAKE_FIND_PACKAGE_NAME) 78 set( ${CMAKE_FIND_PACKAGE_NAME}_FOUND FALSE) 79 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}
") 81 message(FATAL_ERROR "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}
") 84 unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets) 86 # Commands beyond this point should not need to know the version. 87 set(CMAKE_IMPORT_FILE_VERSION)