MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0010694 | CMake | Modules | public | 2010-05-09 11:55 | 2016-06-10 14:31 |
| Reporter | Modestas Vainius | ||||
| Assigned To | Miguel Figueroa | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | amd64 | OS | Debian GNU/Linux | OS Version | sid |
| Product Version | CMake-2-8 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0010694: FindwxWidgets.cmake doesn't support specifying a wxwidgets version. | ||||
| Description | Original 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. | ||||
| Steps To Reproduce | |||||
| Additional Information | I 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 | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| 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 | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||