Skip to content

Commit

Permalink
Merge branch 'main' into RELEASE
Browse files Browse the repository at this point in the history
  • Loading branch information
starseeker committed Sep 20, 2024
2 parents f91a4ca + 0a21754 commit a5cae21
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions itk/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,18 @@
# enough that it won't be a significant issue, since there appears to be
# only so much we can do to sort it out...

if (ENABLE_ITCL AND NOT DEFINED ENABLE_ITK AND NOT DISABLE_TCL)
set(ENABLE_ITK ON)
endif (ENABLE_ITCL AND NOT DEFINED ENABLE_ITK AND NOT DISABLE_TCL)
if (USE_BRLCAD)

# Decide if we're using Itk
cad_enable(ITK "archer;mged;bwish;rtwizard;brlman")

else (USE_BRLCAD)

if (ENABLE_ITCL AND NOT DEFINED ENABLE_ITK AND NOT DISABLE_TCL)
set(ENABLE_ITK ON)
endif (ENABLE_ITCL AND NOT DEFINED ENABLE_ITK AND NOT DISABLE_TCL)

endif (USE_BRLCAD)

if (NOT ENABLE_ITK AND NOT DISABLE_ITCL AND NOT DISABLE_TCL)
find_library(ITK_SYS_LIBRARY NAMES itk3)
Expand Down

0 comments on commit a5cae21

Please sign in to comment.