Re: [CMake] Language Dependency for TCL?

2019-05-18 Thread hex
I didn't know about Tclsh. I see now it is part of TCL. This is useful, thank you. Probably because the following isn't properly set if you don't enable a language: CMAKE_FIND_LIBRARY_SUFFIXES CMAKE_FIND_LIBRARY_PREFIXES You could probably just use "find_package(Tclsh)" to just find the shell

Re: [CMake] Language Dependency for TCL?

2019-05-17 Thread frodak17
On Thu, May 16, 2019 at 5:05 PM hex wrote: > hello, > > I am setting up a TCL project so I disabled all language variables: > > *cmake_minimum_required(VERSION 2.4)* > > *project(P LANGUAGES NONE)* > *find_package(TCL)* > > > however, this fails with > > *-- Could NOT find TCL (missing: TCL_LIBRA

[CMake] Language Dependency for TCL?

2019-05-16 Thread hex
hello, I am setting up a TCL project so I disabled all language variables: *cmake_minimum_required(VERSION 2.4)** ** **project(P LANGUAGES NONE)** **find_package(TCL)* however, this fails with *-- Could NOT find TCL (missing: TCL_LIBRARY) ** **-- Could NOT find TCLTK (missing: TCL_LIBRARY TK_