Skip to content

Commit

Permalink
COMP: Enable building without python.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjmjohnson committed Feb 26, 2020
1 parent 9dbc9a2 commit 3da95c3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ itk_add_test(NAME itkPolarTransformTest
COMMAND PolarTransformTestDriver itkPolarTransformTest
)

itk_python_expression_add_test(NAME itkPolarToCartesianTransformPythonTest
EXPRESSION "instance = itk.PolarToCartesianTransform.New()")
itk_python_expression_add_test(NAME itkCartesianToPolarTransformPythonTest
EXPRESSION "instance = itk.CartesianToPolarTransform.New()")
if(ITK_WRAP_PYTHON)
itk_python_expression_add_test(NAME itkPolarToCartesianTransformPythonTest
EXPRESSION "instance = itk.PolarToCartesianTransform.New()")
itk_python_expression_add_test(NAME itkCartesianToPolarTransformPythonTest
EXPRESSION "instance = itk.CartesianToPolarTransform.New()")
endif()

0 comments on commit 3da95c3

Please sign in to comment.