diff options
author | Michihiro NAKAJIMA <ggcueroad@gmail.com> | 2014-10-13 21:55:56 +0900 |
---|---|---|
committer | Michihiro NAKAJIMA <ggcueroad@gmail.com> | 2014-10-13 22:02:39 +0900 |
commit | c62d30e5fa4339bc0b0ebfaeea3ed21a0a874a8e (patch) | |
tree | 8cbe3e1ef40352ea4137c12d9c37de58ec984c8f /cat/test | |
parent | d052eea055efb486776fa41ebafa5a2e4b5e0a19 (diff) | |
download | libarchive-c62d30e5fa4339bc0b0ebfaeea3ed21a0a874a8e.tar.gz |
Avoid CMake Warning that used GET_TARGET_PROPERTY with LOCATION property,
so we should use $<TARGET_FILE> expression instead.
Diffstat (limited to 'cat/test')
-rw-r--r-- | cat/test/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cat/test/CMakeLists.txt b/cat/test/CMakeLists.txt index bac00854..0990bcf2 100644 --- a/cat/test/CMakeLists.txt +++ b/cat/test/CMakeLists.txt @@ -57,7 +57,8 @@ IF(ENABLE_CAT AND ENABLE_TEST) # Experimental new test handling ADD_CUSTOM_TARGET(run_bsdcat_test - COMMAND bsdcat_test -p ${BSDCAT} -r ${CMAKE_CURRENT_SOURCE_DIR}) + COMMAND bsdcat_test -p $<TARGET_FILE:bsdcat> + -r ${CMAKE_CURRENT_SOURCE_DIR}) ADD_DEPENDENCIES(run_bsdcat_test bsdcat) ADD_DEPENDENCIES(run_all_tests run_bsdcat_test) |