View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014460 | CMake | CMake | public | 2013-10-04 11:27 | 2016-06-10 14:31 | ||||
Reporter | Sebastian Freundt | ||||||||
Assigned To | Alex Neundorf | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake 2.8.8 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014460: AC_ARG_VARs ignored in CMAKE_FIND_PACKAGE macro in cmake.m4 | ||||||||
Description | In cmake.m4: 31 if test -n "$1[]_$2[]FLAGS"; then and 34 if test -n "$1[]_LIBS"; then are completely the opposite of what should happen. The logic must be: if <PKG>_CFLAGS is set, then do NOT invoke cmake --find-package but instead use the user-defined value. If <PKG>_CFLAGS is NOT set, then DO invoke cmake. | ||||||||
Additional Information | One way to fix this quickly is: -if test -n "$1[]_$2[]FLAGS"; then +if test -n "$1[]_$2[]FLAGS"; then -if test -n "$1[]_LIBS"; then +if test -z "$1[]_LIBS"; then i.e. to replace test -n by test -z | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0034892) Alex Neundorf (developer) 2014-01-01 12:23 |
I won't work on this in the near future. |
(0042384) Kitware Robot (administrator) 2016-06-10 14:29 |
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. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2013-10-04 11:27 | Sebastian Freundt | New Issue | |
2013-10-04 11:39 | Brad King | Assigned To | => Alex Neundorf |
2013-10-04 11:39 | Brad King | Status | new => assigned |
2014-01-01 12:23 | Alex Neundorf | Relationship added | child of 0014676 |
2014-01-01 12:23 | Alex Neundorf | Note Added: 0034892 | |
2014-01-01 12:23 | Alex Neundorf | Status | assigned => backlog |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042384 | |
2016-06-10 14:29 | Kitware Robot | Status | backlog => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |