[CMake] How to convince cmake to find Tcl/Tk 8.6?

David Cole david.cole at kitware.com
Fri Jun 22 15:52:34 EDT 2012


Have you tried setting CMAKE_PREFIX_PATH to "/opt/ActiveTcl-8.6"?


On Fri, Jun 22, 2012 at 3:43 PM, Georgios Petasis <petasisg at yahoo.gr> wrote:
> Hi all,
>
> I am using cmake 2.8.8 under Fedora 17 64 bit, in which I have installed
> ActiveTcl 8.6 in /opt.
> My path variable starts with:
>
> /opt/ActiveTcl-8.6/bin:...
>
> And when I run tclsh/tclsh8.6/wish/wish8.6, I get the ActiveTcl one, from
> /opt.
>
> However, cmake does not find this Tcl/Tk installation, and locates instead
> Tcl 8.5 installed in /usr.
> (Which cannot be used for compilation, since the application depends on 8.6
> features).
>
> How can I convince cmake to pick up the 8.6 version installed in
> /opt/ActiveTcl-8.6/ ?
>
> George
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake


More information about the CMake mailing list