FindTCL set TCL_INCLUDE_PATH

This commit is contained in:
James Cherry 2020-01-07 18:46:24 -08:00
parent 8685a4377a
commit e2ef2ccb81
1 changed files with 4 additions and 0 deletions

View File

@ -74,3 +74,7 @@ if (NOT TCL_HEADER)
endif()
message(STATUS "TCL header: ${TCL_HEADER}")
get_filename_component(TCL_HEADER_DIR "${TCL_HEADER}" PATH)
if (TCL_HEADER)
get_filename_component(TCL_INCLUDE_PATH "${TCL_HEADER}" PATH)
endif()