From f7e788a77e4600c01853619040044ad3bb3e9e93 Mon Sep 17 00:00:00 2001 From: Dmitry Baryshev Date: Mon, 23 Sep 2024 16:14:41 +0300 Subject: [PATCH] TIFF: Fix test file location to be in CMAKE_CURRENT_BINARY_DIR --- src/sail-codecs/tiff/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sail-codecs/tiff/CMakeLists.txt b/src/sail-codecs/tiff/CMakeLists.txt index 5bef7d8c..e6635672 100644 --- a/src/sail-codecs/tiff/CMakeLists.txt +++ b/src/sail-codecs/tiff/CMakeLists.txt @@ -59,7 +59,7 @@ foreach (tiff_codec IN LISTS TIFF_CODECS) int main(int argc, char *argv[]) { - TIFF *tiff = TIFFOpen(\"file.tiff\", \"w\"); + TIFF *tiff = TIFFOpen(\"${CMAKE_CURRENT_BINARY_DIR}/file.tiff\", \"w\"); if (tiff == NULL) { return 1;