Revision: 77612
          http://sourceforge.net/p/brlcad/code/77612
Author:   starseeker
Date:     2020-10-23 15:39:56 +0000 (Fri, 23 Oct 2020)
Log Message:
-----------
Make sure HAVE_TK is set for compilation

Modified Paths:
--------------
    brlcad/branches/extbuild/src/other/ext/CMakeLists.txt

Modified: brlcad/branches/extbuild/src/other/ext/CMakeLists.txt
===================================================================
--- brlcad/branches/extbuild/src/other/ext/CMakeLists.txt       2020-10-23 
15:30:23 UTC (rev 77611)
+++ brlcad/branches/extbuild/src/other/ext/CMakeLists.txt       2020-10-23 
15:39:56 UTC (rev 77612)
@@ -271,6 +271,12 @@
 include(${CMAKE_CURRENT_SOURCE_DIR}/iwidgets.cmake)
 set(BUILD_STATIC_LIBS ${BSL_CACHE})
 
+# A lot of code depends on knowing about Tk being active,
+# so we set a flag in the configuration header to pass
+# on that information.
+if (COMMAND CONFIG_H_APPEND)
+  CONFIG_H_APPEND(BRLCAD "#cmakedefine HAVE_TK\n")
+endif (COMMAND CONFIG_H_APPEND)
 
 std_build_rpath()
 

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