Commit 05c0cf70 authored by Sebastien Barre's avatar Sebastien Barre

Add 8.4 and registry support

parent fc70deed
......@@ -9,15 +9,46 @@
# TK_INCLUDE_PATH = the path to where tk.h can be found
#
# try to find the Tcl libraries in a few places and names
FIND_LIBRARY(TCL_LIBRARY
NAMES tcl tcl83 tcl82 tcl80
PATHS /usr/lib "C:/Program Files/Tcl/lib" /usr/local/lib)
NAMES tcl tcl84 tcl83 tcl82 tcl80
PATHS
/usr/lib
/usr/local/lib
"C:/Program Files/Tcl/lib"
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.4Root]/lib
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.3Root]/lib
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.2Root]/lib
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.0Root]/lib
)
FIND_LIBRARY(TK_LIBRARY
NAMES tk tk83 tk82 tk80
PATHS /usr/lib "C:/Program Files/Tcl/lib" /usr/local/lib)
NAMES tk tk84 tk83 tk82 tk80
PATHS
/usr/lib
/usr/local/lib
"C:/Program Files/Tcl/lib"
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.4Root]/lib
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.3Root]/lib
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.2Root]/lib
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.0Root]/lib
)
# add in the include path
FIND_PATH(TCL_INCLUDE_PATH tcl.h "C:/Program Files/Tcl/include" /usr/include /usr/local/include)
FIND_PATH(TK_INCLUDE_PATH tk.h "C:/Program Files/Tcl/include" /usr/include /usr/local/include)
FIND_PATH(TCL_INCLUDE_PATH tcl.h
/usr/include
/usr/local/include
"C:/Program Files/Tcl/include"
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.4Root]/include
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.3Root]/include
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.2Root]/include
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.0Root]/include
)
FIND_PATH(TK_INCLUDE_PATH tk.h
/usr/include
/usr/local/include
"C:/Program Files/Tcl/include"
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.4Root]/include
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.3Root]/include
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.2Root]/include
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.0Root]/include
)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment