From d5dd1e7013a4e4d0a8cc37b5517e7cd9d352d26a Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Sat, 6 Mar 2010 17:22:40 -0500 Subject: [PATCH] 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 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.3