]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Add INCLUDE_DIRECTORIES directive to fix build failure on cmake 2.8.9.
authorAndres Mejia <amejia004@gmail.com>
Wed, 19 Sep 2012 01:55:41 +0000 (21:55 -0400)
committerAndres Mejia <amejia004@gmail.com>
Wed, 19 Sep 2012 01:55:41 +0000 (21:55 -0400)
cpio/test/CMakeLists.txt
libarchive/test/CMakeLists.txt
tar/test/CMakeLists.txt

index a06ae0496ec4ce103da1b83f1307700c917d53d4..bbb70be7830ff652b0cec148a9e34875642041eb 100644 (file)
@@ -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
index 8f8bc9b8171a3ec5841b4f990c926fd40f65057f..ee8852d58b7d43a4bd9ea3b35e0ad16d4f5c01c6 100644 (file)
@@ -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
index d776d781783bcc8aaeee99eebcfd4c2334aa8ccd..5c0c44370c20e1c2ef3337ea5c4a73444270f3eb 100644 (file)
@@ -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