View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013554CMakeCMakepublic2012-09-21 11:242016-06-10 14:31
ReporterStephen Kelly 
Assigned ToAlex Neundorf 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0013554: cmake --find-package should accept version arguments
Description
If I have multiple versions of a package installed, I can't specify that I want one of version greater than 5.3, for example.

$ cmake --find-package -DNAME=Qt5Core \
                       -DCOMPILER_ID=GNU \
                       -DLANGUAGE=CXX \
                       -DMODE=LINK
-rdynamic /home/stephen/dev/prefix/qtbase/lib/libQtCore.so.5.0.0 -Wl,-rpath,/home/stephen/dev/prefix/qtbase/lib
TagsNo tags attached.
Attached Files

 Relationships
child of 0014676closedAlex Neundorf cmake --find-package summary ticket 

  Notes
(0031402)
Alex Neundorf (developer)
2012-11-03 14:01

Maybe later...
(0032798)
Alex Neundorf (developer)
2013-04-10 14:35

I consider this still experimental.
Currently in this mode cmake simply does a
find_package(ThePackage QUIET)

This will fail if the Find-module relies e.g. on try-compile().

I'm thinking about restricting this to Config-mode. Those files should not need try_compile()/ or try_run().

What do you think ?
(0042124)
Kitware Robot (administrator)
2016-06-10 14:28

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
2012-09-21 11:24 Stephen Kelly New Issue
2012-09-21 11:24 Stephen Kelly Status new => assigned
2012-09-21 11:24 Stephen Kelly Assigned To => Alex Neundorf
2012-11-03 14:01 Alex Neundorf Note Added: 0031402
2012-11-03 14:01 Alex Neundorf Status assigned => backlog
2013-04-10 14:35 Alex Neundorf Note Added: 0032798
2014-01-01 12:21 Alex Neundorf Relationship added child of 0014676
2016-06-10 14:28 Kitware Robot Note Added: 0042124
2016-06-10 14:28 Kitware Robot Status backlog => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team