diff --git a/ThirdParty/CMakeLists.txt b/ThirdParty/CMakeLists.txt
index 2cdae58ab87fce49132f383bc37f7bda4aa3fea1..ad6e02fe24ad8208ca370998e6354c3aa2c1c210 100644
--- a/ThirdParty/CMakeLists.txt
+++ b/ThirdParty/CMakeLists.txt
@@ -35,7 +35,7 @@ if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/tetgen/CMakeLists.txt)
 endif()
 
 # vtkdiff
-if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/vtkdiff/CMakeLists.txt AND OGS_BUILD_TESTS)
+if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/vtkdiff/CMakeLists.txt)
     add_subdirectory(vtkdiff)
     install (PROGRAMS $<TARGET_FILE:vtkdiff> DESTINATION bin COMPONENT ogs_extras)
 endif()