Skip to content

Commit

Permalink
Put local itcl3 dir first
Browse files Browse the repository at this point in the history
  • Loading branch information
starseeker committed Jul 10, 2024
1 parent 561eab1 commit c0435ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions itk/itk.patch
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ diff -Naur itk/CMake/FindTCL.cmake ITK_BLD/CMake/FindTCL.cmake
+# ex: shiftwidth=2 tabstop=8
diff -Naur itk/CMakeLists.txt ITK_BLD/CMakeLists.txt
--- itk/CMakeLists.txt 1969-12-31 19:00:00.000000000 -0500
+++ ITK_BLD/CMakeLists.txt 2024-07-10 10:41:52.225087088 -0400
+++ ITK_BLD/CMakeLists.txt 2024-07-10 11:14:36.054324121 -0400
@@ -0,0 +1,280 @@
+# C M A K E L I S T S . T X T
+# ITK
Expand Down Expand Up @@ -843,14 +843,14 @@ diff -Naur itk/CMakeLists.txt ITK_BLD/CMakeLists.txt
+endif (NOT TCL_PRIVATE_HDRS)
+
+include_directories(
+ # Itcl3 is iffy as a system install - just reference the local copy
+ ${CMAKE_SOURCE_DIR}/generic/itcl3
+ ${TCL_INCLUDE_PATH}
+ ${TK_INCLUDE_PATH}
+ ${ITCL_INCLUDE_PATH}
+ ${ITK_INCLUDE_DIRS}
+ ${X11_INCLUDE_DIR}
+ ${TCL_PRIVATE_HDRS}
+ # Itcl3 is iffy as a system install - just reference the local copy
+ ${CMAKE_SOURCE_DIR}/generic/itcl3
+ )
+
+add_library(itk${ITK_VERSION} SHARED ${ITK_SRCS})
Expand Down

0 comments on commit c0435ce

Please sign in to comment.