Revision: 41259
http://brlcad.svn.sourceforge.net/brlcad/?rev=41259&view=rev
Author: starseeker
Date: 2010-11-05 22:46:31 +0000 (Fri, 05 Nov 2010)
Log Message:
-----------
BWISH is not cooperating - tweak it some, but so far it only starts if run from
exactly the build dir.
Modified Paths:
--------------
brlcad/branches/cmake/src/bwish/main.c
Modified: brlcad/branches/cmake/src/bwish/main.c
===================================================================
--- brlcad/branches/cmake/src/bwish/main.c 2010-11-05 21:54:36 UTC (rev
41258)
+++ brlcad/branches/cmake/src/bwish/main.c 2010-11-05 22:46:31 UTC (rev
41259)
@@ -48,8 +48,11 @@
* the global namespace.. allow for easy means to disable the import.
*/
#define IMPORT_ITCL 1
+
+#ifdef BWISH
#define IMPORT_ITK 1
#define IMPORT_IWIDGETS 1
+#endif
extern int cmdInit(Tcl_Interp *interp);
extern void Cad_Main(int argc, char **argv, Tcl_AppInitProc (*appInitProc),
Tcl_Interp *interp);
@@ -76,7 +79,7 @@
return TCL_ERROR;
}
-#ifdef HAVE_TK
+#ifdef BWISH
if (Tk_Init(interp) == TCL_ERROR) {
return TCL_ERROR;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits