mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
UseEcos: Update tclsh check
The FindTclsh module already outputs the result message thus the redundant can be removed. The Tclsh_FOUND variable used instead of TCL_TCLSH for the check.
This commit is contained in:
@@ -139,10 +139,8 @@ endif ()
|
||||
# Check that tclsh (coming with TCL) is available, otherwise ecosconfig doesn't
|
||||
# work.
|
||||
find_package(Tclsh)
|
||||
if (NOT TCL_TCLSH)
|
||||
if (NOT Tclsh_FOUND)
|
||||
message(SEND_ERROR "The TCL tclsh was not found. Please install TCL, it is required for building eCos applications.")
|
||||
else ()
|
||||
message(STATUS "tlcsh found: ${TCL_TCLSH}")
|
||||
endif ()
|
||||
|
||||
macro(ECOS_ADD_INCLUDE_DIRECTORIES)
|
||||
|
||||
Reference in New Issue
Block a user