View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010694CMakeModulespublic2010-05-09 11:552016-06-10 14:31
ReporterModestas Vainius 
Assigned ToMiguel Figueroa 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
Platformamd64OSDebian GNU/LinuxOS Versionsid
Product VersionCMake-2-8 
Target VersionFixed in Version 
Summary0010694: FindwxWidgets.cmake doesn't support specifying a wxwidgets version.
DescriptionOriginal bug report at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493460 [^]
It was reported against 2.6 but as far as I can tell, it still applies to 2.8.1/master. In short:

It isn't possible:
 - to specify which wx version should be found,
 - or to check which wx version has been found,
 - or to specify which wx-config program to run.
Additional InformationI believe it should be pretty easy to support find_package(wxWdigets <version>) given the information provided by reporter. I pasted it below. Full original report is at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493460 [^]

Some suggestions by reporter:

 - providing with an additional _FOUND_VERSION or _FOUND_RELEASE
   variable so that one can at least check which version has been picked
   up. That might be done by calling using $(wx-config --release).
 - supporting forcing the version to something user-specified. That can
   be achieved by using the wx-config --version parameter. Examples for
   that below.
 - if the previous one isn't acceptable (although I found it quite
   elegant), it'd be nice to be able to specifying a PATH for wx-config,
   so that one can determine it in debian/rules, and inject it in a
   CMakeLists.txt file.

Examples of --version use:
| kibi@waity:~$ wx-config --version
| 2.6.3
| kibi@waity:~$ wx-config --release
| 2.6
| kibi@waity:~$ wx-config --version=2.6 --version
| 2.6.3
| kibi@waity:~$ wx-config --version=2.6 --release
| 2.6
| kibi@waity:~$ wx-config --version=2.8 --version
| 2.8.7
| kibi@waity:~$ wx-config --version=2.8 --release
| 2.8
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0034132)
karolherbst (reporter)
2013-10-16 07:03

What is the status here? Desurium has the same problem. If nobody wants to fix that, I could do that.
(0041694)
Kitware Robot (administrator)
2016-06-10 14:27

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2010-05-09 11:55 Modestas Vainius New Issue
2010-05-09 14:00 Miguel Figueroa Status new => assigned
2010-05-09 14:00 Miguel Figueroa Assigned To => Miguel Figueroa
2013-10-16 07:03 karolherbst Note Added: 0034132
2016-06-10 14:27 Kitware Robot Note Added: 0041694
2016-06-10 14:27 Kitware Robot Status assigned => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team