From: Andres Mejia Date: Wed, 19 Sep 2012 01:55:41 +0000 (-0400) Subject: Add INCLUDE_DIRECTORIES directive to fix build failure on cmake 2.8.9. X-Git-Tag: v3.1.0~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ace204477c08025bed0ba51fa0da3e6b374e24d;p=thirdparty%2Flibarchive.git Add INCLUDE_DIRECTORIES directive to fix build failure on cmake 2.8.9. --- diff --git a/cpio/test/CMakeLists.txt b/cpio/test/CMakeLists.txt index a06ae0496..bbb70be78 100644 --- a/cpio/test/CMakeLists.txt +++ b/cpio/test/CMakeLists.txt @@ -65,6 +65,7 @@ IF(ENABLE_CPIO AND ENABLE_TEST) ENDMACRO (DEFINE_TEST _testname) INCLUDE(${CMAKE_CURRENT_BINARY_DIR}/list.h) + INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}) # Experimental new test handling ADD_CUSTOM_TARGET(run_bsdcpio_test diff --git a/libarchive/test/CMakeLists.txt b/libarchive/test/CMakeLists.txt index 8f8bc9b81..ee8852d58 100644 --- a/libarchive/test/CMakeLists.txt +++ b/libarchive/test/CMakeLists.txt @@ -215,6 +215,7 @@ IF(ENABLE_TEST) ENDMACRO (DEFINE_TEST _testname) INCLUDE(${CMAKE_CURRENT_BINARY_DIR}/list.h) + INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}) # Experimental new test handling ADD_CUSTOM_TARGET(run_libarchive_test diff --git a/tar/test/CMakeLists.txt b/tar/test/CMakeLists.txt index d776d7817..5c0c44370 100644 --- a/tar/test/CMakeLists.txt +++ b/tar/test/CMakeLists.txt @@ -68,6 +68,7 @@ IF(ENABLE_TAR AND ENABLE_TEST) ENDMACRO (DEFINE_TEST _testname) INCLUDE(${CMAKE_CURRENT_BINARY_DIR}/list.h) + INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}) # Experimental new test handling ADD_CUSTOM_TARGET(run_bsdtar_test