Revision: 75596
          http://sourceforge.net/p/brlcad/code/75596
Author:   starseeker
Date:     2020-04-23 23:14:14 +0000 (Thu, 23 Apr 2020)
Log Message:
-----------
Ah, right - that trick requires access to a display, which isn't guaranteed at 
configure time.

Modified Paths:
--------------
    brlcad/trunk/src/other/CMakeLists.txt

Modified: brlcad/trunk/src/other/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/other/CMakeLists.txt       2020-04-23 22:16:49 UTC (rev 
75595)
+++ brlcad/trunk/src/other/CMakeLists.txt       2020-04-23 23:14:14 UTC (rev 
75596)
@@ -466,6 +466,7 @@
   endif (NOT WIN32)
   set(TK_SYSTEM_GRAPHICS "${TK_SYSTEM_GRAPHICS}" CACHE STRING "Tk system 
graphics type" FORCE)
 
+  if (0)
   # Now we know what the options want - confirm we actually have it.  If not, 
it's a fatal
   # error - the user will need to either specify a system version with the 
graphics system
   # desired, change their toplevel options, or enable the bundled Tcl/Tk build.
@@ -486,6 +487,7 @@
   if (NOT "${TK_SYSTEM_GRAPHICS}" MATCHES "${tcl_tkwin}")
     message(FATAL_ERROR "Grahics system needed is ${TK_SYSTEM_GRAPHICS} but 
found Tcl/Tk reports \"${tcl_tkwin}\".  Need to either specify a Tcl/Tk system 
with the desired graphics behavior or specifiy different toplevel graphics 
options.")
   endif (NOT "${TK_SYSTEM_GRAPHICS}" MATCHES "${tcl_tkwin}")
+  endif (0)
 
 endif(BRLCAD_TK_BUILD)
 mark_as_advanced(TK_INCLUDE_PATH)

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to