Skip to content

Commit

Permalink
COMP: Fix 'itkPyCommand.h' file not found
Browse files Browse the repository at this point in the history
This is appearing again, which means that previous solution was not thorough enough:
InsightSoftwareConsortium#4829

Sample error message:

28>------ Build started: Project: ITKPyUtilsCastXML, Configuration: RelWithDebInfo x64 ------
28>Generating ../../../castxml_inputs/itkPyCommand.xml
28>C:/Dev/ITK-py22/Wrapping/castxml_inputs/itkPyCommand.cxx:16:10: fatal error: 'itkPyCommand.h' file not found
28>   16 | #include "itkPyCommand.h"
28>      |          ^~~~~~~~~~~~~~~~
28>1 error generated.
  • Loading branch information
dzenanz authored and hjmjohnson committed Dec 1, 2024
1 parent f6881e1 commit 89d13df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Wrapping/Generators/Python/PyUtils/itkPyCommand.wrap
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
itk_wrap_include("${CMAKE_CURRENT_LIST_DIR}/itkPyCommand.h")
itk_wrap_simple_class("itk::PyCommand" POINTER)

0 comments on commit 89d13df

Please # to comment.