MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0014866 | CMake | CMake | public | 2014-04-08 08:27 | 2014-10-06 10:33 |
|
Reporter | Mike Crowe | |
Assigned To | Brad King | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | Debian | OS | GNU/Linux | OS Version | 7.2 |
Product Version | CMake 2.8.12.2 | |
Target Version | CMake 3.1 | Fixed in Version | CMake 3.1 | |
|
Summary | 0014866: CMake's ENABLE_ACL option does not stop CMake looking for libacl.h |
Description | I'd like to build cmake without including libacl.h even when libacl.h is available. This doesn't appear to be possible because the LA_CHECK_INCLUDE_FILE("acl/libacl.h" HAVE_ACL_LIBACL_H) in Utilities/cmlibarchive/CMakeLists.txt is run even when ENABLE_ACL is zero. |
Steps To Reproduce | |
Additional Information | This is required when building cmake-native under OpenEmbedded to avoid sporadic build failures if libacl.h disappears part way through the build.
The attached patch fixes this for me. I can now pass -DENABLE_ACL=0 and libacl.h is not used. |
Tags | No tags attached. |
Relationships | related to | 0014867 | closed | | Not possible to pass options like -DENABLE_ACL through configure when bootstrapping cmake |
|
Attached Files | support-disable-libacl.patch (707) 2014-04-08 08:27 https://public.kitware.com/Bug/file/5123/support-disable-libacl.patch |
|
Issue History |
Date Modified | Username | Field | Change |
2014-04-08 08:27 | Mike Crowe | New Issue | |
2014-04-08 08:27 | Mike Crowe | File Added: support-disable-libacl.patch | |
2014-04-08 08:50 | Brad King | Relationship added | related to 0014867 |
2014-04-08 08:54 | Brad King | Note Added: 0035656 | |
2014-04-14 09:35 | Brad King | Note Added: 0035691 | |
2014-04-14 09:35 | Brad King | Assigned To | => Brad King |
2014-04-14 09:35 | Brad King | Status | new => resolved |
2014-04-14 09:35 | Brad King | Resolution | open => fixed |
2014-04-14 09:35 | Brad King | Fixed in Version | => CMake 3.1 |
2014-04-14 09:35 | Brad King | Target Version | => CMake 3.1 |
2014-10-06 10:33 | Robert Maynard | Note Added: 0036971 | |
2014-10-06 10:33 | Robert Maynard | Status | resolved => closed |