File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
modules/example_functions Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,14 @@ set_target_properties(cpptcl_example_functions PROPERTIES VERSION ${CPPTCL_EXAMP
27
27
find_library (CPPTCL_LIBRARIES cpptcl HINTS ${CPPTCL_SOURCE_DIR} /build )
28
28
find_path (CPPTCL_INCLUDE_DIRS cpptcl/cpptcl.h HINTS "${CPPTCL_SOURCE_DIR} " PATHS ${CMAKE_INCLUDE_PATH} )
29
29
30
+ find_path (TCL_EXECUTABLE_PATH tclsh PATHS /usr/local/bin /usr/bin /bin NO_DEFAULT_PATH )
30
31
find_path (TCL_INCLUDE_PATH tcl.h PATHS /usr/local/include/tcl8.6 /usr/local/include /usr/include/tcl8.6 NO_DEFAULT_PATH )
31
32
find_library (TCL_LIBRARY NAMES tcl8.6 tcl86 PATHS /usr/local/lib )
32
33
find_library (TCL_STUB_LIBRARY NAMES tclstub8.6 tclstub86 PATHS /usr/local/lib )
33
34
34
- set (TCL_TCLSH tclsh8.6 )
35
+ set (TCL_TCLSH " ${TCL_EXECUTABLE_PATH} /tclsh" )
35
36
37
+ message (INFO " Tcl tclsh ${TCL_TCLSH} " )
36
38
message (INFO " Tcl include ${TCL_INCLUDE_PATH} " )
37
39
message (INFO " Tcl library ${TCL_LIBRARY} " )
38
40
message (INFO " Tcl stub library ${TCL_STUB_LIBRARY} " )
You can’t perform that action at this time.
0 commit comments