1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

CMake: Change one CMAKE_CURRENT_SOURCE_DIR to CMAKE_CURRENT_LIST_DIR.

In this case they have identical values.
This commit is contained in:
Lasse Collin 2023-10-26 21:44:42 +03:00 committed by Jia Tan
parent da4d04e4d6
commit 0e546eb4da

View file

@ -1326,7 +1326,7 @@ if(BUILD_TESTING)
# #
# Set the return code for skipped tests to match Automake convention. # Set the return code for skipped tests to match Automake convention.
set_tests_properties("${TEST}" PROPERTIES set_tests_properties("${TEST}" PROPERTIES
ENVIRONMENT "srcdir=${CMAKE_CURRENT_LIST_DIR}/tests" ENVIRONMENT "srcdir=${CMAKE_CURRENT_SOURCE_DIR}/tests"
SKIP_RETURN_CODE 77 SKIP_RETURN_CODE 77
) )
endforeach() endforeach()