diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2023-10-26 21:44:42 +0300 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-10-31 18:44:59 +0800 |
commit | 0e546eb4da05c52b7d257e5bd85e15c51c4d86a3 (patch) | |
tree | e077389399e3b51683e7ae4fd5d71484b0612b63 /CMakeLists.txt | |
parent | CMake/Windows: Fix the import library filename. (diff) | |
download | xz-0e546eb4da05c52b7d257e5bd85e15c51c4d86a3.tar.xz |
CMake: Change one CMAKE_CURRENT_SOURCE_DIR to CMAKE_CURRENT_LIST_DIR.
In this case they have identical values.
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a2b69231..117f2c66 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1326,7 +1326,7 @@ if(BUILD_TESTING) # # Set the return code for skipped tests to match Automake convention. set_tests_properties("${TEST}" PROPERTIES - ENVIRONMENT "srcdir=${CMAKE_CURRENT_LIST_DIR}/tests" + ENVIRONMENT "srcdir=${CMAKE_CURRENT_SOURCE_DIR}/tests" SKIP_RETURN_CODE 77 ) endforeach() |