From: Tim Kientzle Date: Sat, 6 Mar 2010 22:22:40 +0000 (-0500) Subject: Put the libarchive source directory at the beginning of the include X-Git-Tag: v3.0.0a~1158 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5dd1e7013a4e4d0a8cc37b5517e7cd9d352d26a;p=thirdparty%2Flibarchive.git Put the libarchive source directory at the beginning of the include dirs; this ensures that archive.h and archive_entry.h get picked up from there instead of from an installed system version. SVN-Revision: 2019 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 84f8687d0..44c6a3f07 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -744,7 +744,7 @@ ENDIF(WIN32 AND NOT CYGWIN) # # # -INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/libarchive) +INCLUDE_DIRECTORIES(BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/libarchive) # IF(MSVC) ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE)