Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
18 lines
731 B
Diff
18 lines
731 B
Diff
diff --git a/Modules/Core/Wrappers/SWIG/src/python/CMakeLists.txt b/Modules/Core/Wrappers/SWIG/src/python/CMakeLists.txt
|
|
index 1a33064..d791805 100644
|
|
--- a/Modules/Core/Wrappers/SWIG/src/python/CMakeLists.txt
|
|
+++ b/Modules/Core/Wrappers/SWIG/src/python/CMakeLists.txt
|
|
@@ -17,6 +17,12 @@
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
+# Add ITK
|
|
+find_package(ITK REQUIRED)
|
|
+include(${ITK_USE_FILE})
|
|
+include_directories(${ITK_INCLUDE_DIRS})
|
|
+message(STATUS "ITK FOUND: ${ITK_INCLUDE_DIRS}")
|
|
+
|
|
include_directories( ${Python_INCLUDE_DIRS} )
|
|
include_directories ( ${CMAKE_CURRENT_SOURCE_DIR})
|
|
set_source_files_properties ( ../otbApplication.i PROPERTIES CPLUSPLUS ON )
|