Skip to content
Snippets Groups Projects
Verified Commit dfe4662b authored by Lars Bilke's avatar Lars Bilke
Browse files

Replaced vtkdiff submodule with CPM.

parent 31e04434
No related branches found
No related tags found
No related merge requests found
[submodule "ThirdParty/tetgen"]
path = ThirdParty/tetgen
url = https://github.com/ufz/tetgen.git
[submodule "vtkdiff"]
path = ThirdParty/vtkdiff
url = https://github.com/ufz/vtkdiff.git
[submodule "ThirdParty/metis"]
path = ThirdParty/metis
url = https://github.com/scibuilder/metis.git
......
......@@ -226,11 +226,6 @@ include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/ThirdParty/json/include
)
# vtkdiff
if(BUILD_TESTING)
add_subdirectory(ThirdParty/vtkdiff)
install(PROGRAMS $<TARGET_FILE:vtkdiff> DESTINATION bin COMPONENT ogs_extras)
endif()
# xdmfdiff
if(OGS_USE_XDMF AND BUILD_TESTING)
add_subdirectory(Tests/xdmfdiff)
......
Subproject commit 49403cee266bb8e80405a02d677dbb5f71afc61a
......@@ -9,6 +9,7 @@ if(BUILD_TESTING)
"INSTALL_GTEST OFF"
"gtest_force_shared_crt ON"
)
CPMAddPackage(
NAME autocheck
GITHUB_REPOSITORY ufz/autocheck
......@@ -19,6 +20,17 @@ if(BUILD_TESTING)
add_library(autocheck INTERFACE IMPORTED)
target_include_directories(autocheck INTERFACE ${autocheck_SOURCE_DIR}/include)
endif()
CPMAddPackage(
NAME vtkdiff
GITHUB_REPOSITORY ufz/vtkdiff
GIT_TAG 49403cee266bb8e80405a02d677dbb5f71afc61a
OPTIONS
"VTK_LIBRARIES vtkIOXML"
)
if(vtkdiff_ADDED)
install(PROGRAMS $<TARGET_FILE:vtkdiff> DESTINATION bin COMPONENT ogs_extras)
endif()
endif()
CPMAddPackage(
......
......@@ -18,9 +18,6 @@ set(REQUIRED_SUBMODULES
if(OGS_USE_XDMF)
list(APPEND REQUIRED_SUBMODULES ThirdParty/xdmf)
endif()
if(BUILD_TESTING)
list(APPEND REQUIRED_SUBMODULES ThirdParty/vtkdiff)
endif()
if(OGS_BUILD_UTILS)
# Required by the partmesh tool, which is build with utils only.
list(APPEND REQUIRED_SUBMODULES ThirdParty/metis)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment