Add 8.4 and registry support
This commit is contained in:
parent
fc70deedcf
commit
05c0cf7024
|
@ -9,15 +9,46 @@
|
||||||
# TK_INCLUDE_PATH = the path to where tk.h can be found
|
# 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
|
FIND_LIBRARY(TCL_LIBRARY
|
||||||
NAMES tcl tcl83 tcl82 tcl80
|
NAMES tcl tcl84 tcl83 tcl82 tcl80
|
||||||
PATHS /usr/lib "C:/Program Files/Tcl/lib" /usr/local/lib)
|
PATHS
|
||||||
|
/usr/lib
|
||||||
|
/usr/local/lib
|
||||||
|
"C:/Program Files/Tcl/lib"
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.4§Root]/lib
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.3§Root]/lib
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.2§Root]/lib
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.0§Root]/lib
|
||||||
|
)
|
||||||
|
|
||||||
FIND_LIBRARY(TK_LIBRARY
|
FIND_LIBRARY(TK_LIBRARY
|
||||||
NAMES tk tk83 tk82 tk80
|
NAMES tk tk84 tk83 tk82 tk80
|
||||||
PATHS /usr/lib "C:/Program Files/Tcl/lib" /usr/local/lib)
|
PATHS
|
||||||
|
/usr/lib
|
||||||
|
/usr/local/lib
|
||||||
|
"C:/Program Files/Tcl/lib"
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.4§Root]/lib
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.3§Root]/lib
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.2§Root]/lib
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.0§Root]/lib
|
||||||
|
)
|
||||||
|
|
||||||
# add in the include path
|
FIND_PATH(TCL_INCLUDE_PATH tcl.h
|
||||||
FIND_PATH(TCL_INCLUDE_PATH tcl.h "C:/Program Files/Tcl/include" /usr/include /usr/local/include)
|
/usr/include
|
||||||
FIND_PATH(TK_INCLUDE_PATH tk.h "C:/Program Files/Tcl/include" /usr/include /usr/local/include)
|
/usr/local/include
|
||||||
|
"C:/Program Files/Tcl/include"
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.4§Root]/include
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.3§Root]/include
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.2§Root]/include
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.0§Root]/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.4§Root]/include
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.3§Root]/include
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.2§Root]/include
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.0§Root]/include
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue