summaryrefslogtreecommitdiff
path: root/cat/test
diff options
context:
space:
mode:
authorXiao-Long Chen <chenxiaolong@cxl.epac.to>2014-09-16 00:11:20 -0400
committerXiao-Long Chen <chenxiaolong@cxl.epac.to>2014-09-16 00:11:20 -0400
commit5432e578acddb7216c1f61cf2681727c17e36de6 (patch)
tree5ee2ac693804e0ef245ed7f7d65d3d1405bb27a5 /cat/test
parent3d469df8eaace8297a27ce62befa295c0fdc5a3a (diff)
downloadlibarchive-5432e578acddb7216c1f61cf2681727c17e36de6.tar.gz
Fix incorrect CMake test directory when building as a subproject
This is an extension of e800985adbb0820c5692ea016b3a8499d69a73dc
Diffstat (limited to 'cat/test')
-rw-r--r--cat/test/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/cat/test/CMakeLists.txt b/cat/test/CMakeLists.txt
index ebb702ad..bac00854 100644
--- a/cat/test/CMakeLists.txt
+++ b/cat/test/CMakeLists.txt
@@ -53,7 +53,7 @@ IF(ENABLE_CAT AND ENABLE_TEST)
INCLUDE(${CMAKE_CURRENT_BINARY_DIR}/list.h)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
- INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/test_utils)
+ INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/test_utils)
# Experimental new test handling
ADD_CUSTOM_TARGET(run_bsdcat_test