]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Fix a iconv detection of cmake.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Fri, 15 Apr 2011 06:24:00 +0000 (02:24 -0400)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Fri, 15 Apr 2011 06:24:00 +0000 (02:24 -0400)
commitffb72caebdad37a0e3feefbcdae71bc28990f0e4
tree817cf6dc311e0cfbe1af351737fce8686b03839b
parent4d9f6fad56b8770af6501a73a53c7a3e83589d99
Fix a iconv detection of cmake.
- Properly find optional directories such as /usr/local/{include,lib}.
- Use FIND_PATH(ICONV_INCLUDE_DIR iconv.h) instead of
  LA_CHECK_INCLUDE_FILE("iconv.h" HAVE_ICONV_H) because detecting libxml2
  headers uses ICONV_INCLUDE_DIR.

SVN-Revision: 3231
CMakeLists.txt