<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>hello,</p>
<p>I am setting up a TCL project so I disabled all language
variables:</p>
<p><b>cmake_minimum_required(VERSION 2.4)</b><b><br>
</b><b><br>
</b><b>project(P LANGUAGES NONE)</b><b><br>
</b><b>find_package(TCL)</b></p>
<p><br>
</p>
<p>however, this fails with</p>
<p><b>-- Could NOT find TCL (missing: TCL_LIBRARY) </b><b><br>
</b><b>-- Could NOT find TCLTK (missing: TCL_LIBRARY TK_LIBRARY) </b><b><br>
</b><b>-- Could NOT find TK (missing: TK_LIBRARY) </b><br>
</p>
<p><br>
</p>
<p>If I instead add languages to the project the TCL package works.
This makes me wonder what dependencies TCL has with standard
languages. Is the package incomplete? Why do I need to use a
language that I do not intend to use?</p>
<p>for example:<br>
</p>
<p><b>cmake_minimum_required(VERSION 2.4)</b><b><br>
</b><b><br>
</b><b>project(P LANGUAGES C)</b><b><br>
</b><b>find_package(TCL)</b><b><br>
</b></p>
<p><b>-- Found Tclsh: /usr/bin/tclsh (found version "8.6") </b><b><br>
</b><b>-- Found TCL: /usr/lib/x86_64-linux-gnu/libtcl.so </b><b><br>
</b><b>-- Found TCLTK: /usr/lib/x86_64-linux-gnu/libtcl.so </b><b><br>
</b><b>-- Found TK: /usr/lib/x86_64-linux-gnu/libtk.so </b><br>
</p>
<p><br>
</p>
<p>thank you<br>
</p>
</body>
</html>