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

[CMake] Only build vtkdiff when OGS_BUILD_TESTS=ON.

parent 5a12e40e
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/tetgen/CMakeLists.txt) ...@@ -32,7 +32,7 @@ if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/tetgen/CMakeLists.txt)
endif() endif()
# vtkdiff # vtkdiff
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/vtkdiff/CMakeLists.txt) if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/vtkdiff/CMakeLists.txt AND OGS_BUILD_TESTS)
add_subdirectory(vtkdiff) add_subdirectory(vtkdiff)
install (PROGRAMS $<TARGET_FILE:vtkdiff> DESTINATION bin COMPONENT ogs_extras) install (PROGRAMS $<TARGET_FILE:vtkdiff> DESTINATION bin COMPONENT ogs_extras)
endif() endif()
......
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