diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 82eb96a..4bd7790 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -13,7 +13,7 @@ if(WIN32) file(TO_NATIVE_PATH $ LIBBZ2) endif() - file(TO_NATIVE_PATH ${CMAKE_CURRENT_BINARY_DIR}/bzip2.exe BZIP2) + file(TO_NATIVE_PATH $ BZIP2) else() # Not WIN32 set(LD_LIBRARY_PATH $:$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() \ No newline at end of file +endif()