use include_directories instead of explict include dir for TCL header

This commit is contained in:
James Cherry 2019-11-29 17:25:33 -08:00
parent 7ef710054b
commit 64e7a9bdbe
1 changed files with 1 additions and 1 deletions

View File

@ -557,6 +557,7 @@ if (NOT TCL_HEADER)
endif()
message(STATUS "TCL header: ${TCL_HEADER}")
get_filename_component(TCL_HEADER_DIR "${TCL_HEADER}" PATH)
include_directories(SYSTEM ${TCL_HEADER_DIR})
################################################################
#
@ -669,7 +670,6 @@ set(STA_INCLUDE_DIRS
search
util
verilog
${TCL_HEADER_DIR}
${CUDD_INCLUDE}
)