diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2023-10-26 21:44:42 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2023-10-26 21:46:06 +0300 |
commit | 08d12595f486890cf601b87f36ee0ddbce57728e (patch) | |
tree | 8907636fd5746f24dd2ab3f503ce01a3ec4ce170 /CMakeLists.txt | |
parent | CMake/Windows: Fix the import library filename. (diff) | |
download | xz-08d12595f486890cf601b87f36ee0ddbce57728e.tar.xz |
CMake: Change one CMAKE_CURRENT_SOURCE_DIR to CMAKE_CURRENT_LIST_DIR.
In this case they have identical values.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 82cdde21..ac426c44 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1498,7 +1498,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() |