View Issue Details [ Jump to Notes ] | [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0011528 | CMake | CMake | public | 2010-11-27 04:50 | 2011-01-12 07:55 |
|
Reporter | Curan | |
Assigned To | Brad King | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | CMake 2.8.3 | |
Target Version | CMake 2.8.4 | Fixed in Version | CMake 2.8.4 | |
|
Summary | 0011528: FindTCL.cmake uses wrong internal variables in FIND_LIBRARY() invocations |
Description | Debian got a bug report (#600245) about FindTCL.cmake using the wrong variables in its two FIND_LIBRARY() invocations. The TCL invocation uses the TK_LIBRARY_VERSION variable and the TK invocation the TCL_LIBRARY_VERSION variable.
Attached you can find the (trival) patch to address this issue. |
Additional Information | Debian Bug report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600245 [^] |
Tags | No tags attached. |
|
Attached Files | FindTCL_fix_#600245.diff [^] (1,007 bytes) 2010-11-27 04:50 [Show Content] [Hide Content]From: Kai Wasserbäch <debian@carbon-project.org>
Description: FindTCL.cmake switches variables in the FIND_LIBRARY invocation.
The FIND_LIBRARY() statement for TCL used the TK variables and vice versa.
This patch reverses that into the right usage. (Closes: #600245)
Last-Update: 2010-11-27
Origin: vendor
---
Modules/FindTCL.cmake | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/Modules/FindTCL.cmake
+++ b/Modules/FindTCL.cmake
@@ -104,7 +104,7 @@ ENDIF(WIN32)
FIND_LIBRARY(TCL_LIBRARY
NAMES
tcl
- tcl${TK_LIBRARY_VERSION} tcl${TCL_TCLSH_VERSION} tcl${TK_WISH_VERSION}
+ tcl${TCL_LIBRARY_VERSION} tcl${TCL_TCLSH_VERSION} tcl${TK_WISH_VERSION}
tcl86 tcl8.6
tcl85 tcl8.5
tcl84 tcl8.4
@@ -117,7 +117,7 @@ FIND_LIBRARY(TCL_LIBRARY
FIND_LIBRARY(TK_LIBRARY
NAMES
tk
- tk${TCL_LIBRARY_VERSION} tk${TCL_TCLSH_VERSION} tk${TK_WISH_VERSION}
+ tk${TK_LIBRARY_VERSION} tk${TCL_TCLSH_VERSION} tk${TK_WISH_VERSION}
tk86 tk8.6
tk85 tk8.5
tk84 tk8.4
|
|