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

[cmake] xdmf is required when OGS_BUILD_TESTING=ON only.

parent 80238a25
No related branches found
No related tags found
No related merge requests found
...@@ -217,7 +217,7 @@ else() ...@@ -217,7 +217,7 @@ else()
endif() endif()
# Does not compile in Debug-mode, see #3175. # Does not compile in Debug-mode, see #3175.
if(CMAKE_BUILD_TYPE STREQUAL "Release") if(CMAKE_BUILD_TYPE STREQUAL "Release" AND OGS_BUILD_TESTING)
set(XDMF_LIBNAME OgsXdmf CACHE STRING "") set(XDMF_LIBNAME OgsXdmf CACHE STRING "")
CPMAddPackage( CPMAddPackage(
NAME xdmf NAME xdmf
......
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