1
0
mirror of https://gitlab.com/bzip2/bzip2.git synced 2026-10-23 09:48:56 +03:00

CI (Windows): Fix bzip2.exe path for tests

This commit is contained in:
Micah Snyder
2022-07-16 21:03:52 -07:00
committed by Micah
parent f1f9d376a4
commit 857640da70

View File

@@ -13,7 +13,7 @@ if(WIN32)
file(TO_NATIVE_PATH $<TARGET_FILE:bz2> LIBBZ2)
endif()
file(TO_NATIVE_PATH ${CMAKE_CURRENT_BINARY_DIR}/bzip2.exe BZIP2)
file(TO_NATIVE_PATH $<TARGET_FILE:bzip2> BZIP2)
else() # Not WIN32
set(LD_LIBRARY_PATH $<TARGET_FILE_DIR:bz2>:$ENV{LD_LIBRARY_PATH})
@@ -70,4 +70,4 @@ if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/input/bzip2-testfiles/README.md)
else()
set_property(TEST large PROPERTY ENVIRONMENT ${ENVIRONMENT})
endif()
endif()
endif()