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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user