Revision: 77935
http://sourceforge.net/p/brlcad/code/77935
Author: starseeker
Date: 2020-12-05 19:48:30 +0000 (Sat, 05 Dec 2020)
Log Message:
-----------
Just point directly to where tcl is located
Modified Paths:
--------------
brlcad/trunk/src/other/tk/CMakeLists.txt
Modified: brlcad/trunk/src/other/tk/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/other/tk/CMakeLists.txt 2020-12-05 19:29:08 UTC (rev
77934)
+++ brlcad/trunk/src/other/tk/CMakeLists.txt 2020-12-05 19:48:30 UTC (rev
77935)
@@ -65,7 +65,7 @@
#-----------------------------------------------------------------------------
# Set CMake module path
-list(APPEND CMAKE_MODULE_PATH "${TCL_SOURCE_DIR}/CMake")
+list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../tcl/CMake")
#---------------------------------------------------------------------
# Define relative install locations and output directories. Don't set
@@ -150,7 +150,7 @@
# Tcl/Tk's normal build system uses autotools macros, referred to as the
# TEA system. An attempt to duplicate the required functionality from
# TEA is found in tcl.cmake
-include(${TCL_SOURCE_DIR}/CMake/tcl.cmake)
+include(${CMAKE_CURRENT_SOURCE_DIR}/../tcl/CMake/tcl.cmake)
#------------------------------------------------------------------------
# Call the LINK_LIBS macro to get M_LIBRARY properly defined (TEA
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