View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013216CMakeModulespublic2012-05-13 15:152012-11-05 14:33
ReporterAndrey Kamaev 
Assigned ToRolf Eike Beer 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 2.8.8 
Target VersionCMake 2.8.9Fixed in VersionCMake 2.8.9 
Summary0013216: FindPythonLibs fails to handle EXACT qualifier
DescriptionI'm trying to get having PythonLibs exactly the same version as PythonInterpreter. But it never success if I request an EXACT version.

I've tried this without success on Windows 7 and Ubuntu 10.04
Steps To ReproduceCreate a CMakeLists.txt having exactly 1 line:

> find_package(PythonLibs 2.7.2)

Run cmake. It outputs:

> -- Found PythonLibs: C:/Python27/libs/python27.lib (found suitable version "2.7.2", required is "2.7.2")

Remove files generated by cmake and change the lists file to

> find_package(PythonLibs 2.7.2 EXACT)

This time it fails:

> -- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is exact version "2.7.2")

If next I remove the EXACT word without cleaning cmake cache I get:

> -- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES) (found suitable version "2.7.2", required is "2.7.2")
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0029614)
Rolf Eike Beer (developer)
2012-06-05 14:04

Fix pushed to next:

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=034a4d25850a203bbeb2f76afa2027a22447723e [^]
(0031443)
David Cole (manager)
2012-11-05 14:33

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2012-05-13 15:15 Andrey Kamaev New Issue
2012-06-05 14:02 Rolf Eike Beer Assigned To => Rolf Eike Beer
2012-06-05 14:02 Rolf Eike Beer Status new => assigned
2012-06-05 14:04 Rolf Eike Beer Note Added: 0029614
2012-06-05 14:04 Rolf Eike Beer Status assigned => resolved
2012-06-05 14:04 Rolf Eike Beer Resolution open => fixed
2012-06-05 14:04 Rolf Eike Beer Fixed in Version => CMake 2.8.9
2012-06-05 14:04 Rolf Eike Beer Target Version => CMake 2.8.9
2012-11-05 14:33 David Cole Note Added: 0031443
2012-11-05 14:33 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team