The following issue has been SUBMITTED. 
====================================================================== 
http://cmake.org/Bug/view.php?id=14866 
====================================================================== 
Reported By:                Mike Crowe
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14866
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-04-08 08:27 EDT
Last Modified:              2014-04-08 08:27 EDT
====================================================================== 
Summary:                    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.

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.
====================================================================== 

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        
           
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to