Skip to content

Commit

Permalink
asc2g needs TclIndexBld as a dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
starseeker committed Sep 23, 2024
1 parent 19b13a6 commit 75faf22
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/conv/asc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ BRLCAD_ADDEXEC(pix2asc pix2asc.c libbu FOLDER Conv)
if (TARGET libtclcad)
BRLCAD_ADDEXEC(asc2g asc2g.c "libtclcad;libged;libwdb;librt;libnmg;libbu;${WINSOCK_LIB};${M_LIBRARY}" FOLDER Conv)
BRLCAD_ADDEXEC(g2asc g2asc.c "libtclcad;librt;libnmg;libbu;${WINSOCK_LIB}" FOLDER Conv)
if (TARGET TclIndexBld)
add_dependencies(asc2g TclIndexBld)
add_dependencies(g2asc TclIndexBld)
endif (TARGET TclIndexBld)
endif (TARGET libtclcad)

CMAKEFILES(
Expand Down
2 changes: 1 addition & 1 deletion src/source_dirs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ set_deps(libtclcad "libged;libdm")
# list libbu explicitly
set_deps(brlman "libqtcad;libtclcad;libbu")
set_deps(bwish "libtclcad")
set_deps(conv "libged;libgcv")
set_deps(fb "libdm")
set_deps(fbserv "libdm")
set_deps(gtools "libged")
Expand All @@ -78,6 +77,7 @@ set_deps(remrt "libdm;liboptical")
# tclscripts directories are configured, and those lists are needed as
# dependencies for the targets in these directories
set_deps(tclscripts "libtclcad")
set_deps(conv "libtclcad;libged;libgcv") # asc2g/g2asc use Tcl. List ged and gcv for when Tcl is disabled
set_deps(adrt "libtclcad")
set_deps(isst "libtclcad;libqtcad")
set_deps(rtwizard "libtclcad")
Expand Down

0 comments on commit 75faf22

Please sign in to comment.