Skip to content

Commit d5842b9

Browse files
committed
COMP: Remove single use variable alias
Remove the GENERATORS_SRC_DIR alias that was only used one time and was an alias to the muliply used /Generators
1 parent a58826b commit d5842b9

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Wrapping/ConfigureWrapping.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ else()
8080
set(WRAP_ITK_LIBNAME_PREFIX "")
8181
endif()
8282

83-
# generators dir
84-
set(GENERATORS_SRC_DIR "${WRAP_ITK_CMAKE_DIR}/Generators" CACHE INTERNAL "generators source directory")
8583

8684
###############################################################################
8785
# Define install files macro. If we are building WrapITK, the generated files

Wrapping/Generators/Python/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ macro(itk_setup_swig_python type base_name interface_file python_file cpp_file d
278278
# "This version of exception.i should not be used"
279279
-I${SWIG_DIR}/python
280280
-I${SWIG_DIR}
281-
-I${GENERATORS_SRC_DIR}
281+
-I${WRAP_ITK_CMAKE_DIR}/Generators
282282
-I${WRAP_ITK_TYPEDEFS_DIRECTORY}/python
283283
-I${WRAP_ITK_TYPEDEFS_DIRECTORY}
284284
${WRAP_ITK_SWIG_ARGS_PYTHON}

0 commit comments

Comments
 (0)