Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • ParaView ParaView
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,842
    • Issues 1,842
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 86
    • Merge requests 86
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ParaView
  • ParaViewParaView
  • Issues
  • #18572
Closed
Open
Created Oct 28, 2018 by Julien Schueller@jschuellerContributor

get_target_property() called with non-existent target "pugixml"

Configuring paraview master with VTK_USE_SYSTEM_PUGIXML=ON errors with:

CMake Error at VTK/IO/CityGML/CMakeLists.txt:8 (get_target_property):
  get_target_property() called with non-existent target "pugixml".

This is caused by Paraview providing a CMake/Findpugixml.cmake script file while the VTK/IO/CityGML relies on the imported target:

# pugixml does not set _INCLUDE_DIRS or _LIBRARIES
if(VTK_USE_SYSTEM_PUGIXML AND NOT pugixml_INCLUDE_DIRS)
  find_package(pugixml REQUIRED)

  get_target_property(pugixml_INCLUDE_DIRS pugixml INTERFACE_INCLUDE_DIRECTORIES)
  get_target_property(pugixml_LIBRARIES pugixml LOCATION)
  include_directories(${pugixml_INCLUDE_DIRS})
  vtk_module_link_libraries(vtkIOCityGML LINK_PRIVATE ${pugixml_LIBRARIES})
endif()

So when "find_package(pugixml REQUIRED)" is called it goes throug paraview's Findpugixml.cmake instead of pugixml-config.cmake.

Configuring goes trhough if I remove Findpugixml.cmake

Edited Oct 28, 2018 by Julien Schueller
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking