Commit 29d3a087 authored by David Partyka's avatar David Partyka
Browse files

vtkhdf5: Temporarily unset BUILD_TESTING when traversing utility libraries.

parent cb071936
...@@ -48,7 +48,12 @@ ENDMACRO(VTK_THIRD_PARTY_INCLUDE2) ...@@ -48,7 +48,12 @@ ENDMACRO(VTK_THIRD_PARTY_INCLUDE2)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
MACRO(VTK_THIRD_PARTY_SUBDIR upper lower) MACRO(VTK_THIRD_PARTY_SUBDIR upper lower)
IF(NOT VTK_USE_SYSTEM_${upper}) IF(NOT VTK_USE_SYSTEM_${upper})
# we don't want to build third party tests.
SET(__vtk_build_testing ${BUILD_TESTING})
SET(BUILD_TESTING OFF)
ADD_SUBDIRECTORY(${lower}) ADD_SUBDIRECTORY(${lower})
# restore BUILD_TESTING
SET (BUILD_TESTING ${__vtk_build_testing})
ENDIF(NOT VTK_USE_SYSTEM_${upper}) ENDIF(NOT VTK_USE_SYSTEM_${upper})
ENDMACRO(VTK_THIRD_PARTY_SUBDIR) ENDMACRO(VTK_THIRD_PARTY_SUBDIR)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment