From 47c13e3968a14e54aab3a21d56cff9e1ee7f7f3a Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Fri, 6 Sep 2024 11:17:19 +0200 Subject: [PATCH] configure: add kernels to vcomp/cmpto_j2k as well refers to GH-406 --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index eefbd2314..6146fbdfb 100644 --- a/configure.ac +++ b/configure.ac @@ -3095,14 +3095,14 @@ if test "$cmpto_j2k_req" != no && test "$FOUND_CMPTO_J2K_ENC_L" = yes && test "$FOUND_CMPTO_J2K_DEC_L" = yes then - dec_objs=src/video_decompress/cmpto_j2k.o + kernels= if test "$FOUND_CUDA" = yes; then - dec_objs="$dec_objs src/cuda_wrapper/kernels.o" + kernels="src/cuda_wrapper/kernels.o" else UG_MSG_WARN([CUDA is recommended for optimal cmpto_j2k performance but not found]) fi - add_module vcompress_cmpto_j2k src/video_compress/cmpto_j2k.o -lcmpto_j2k_enc - add_module vdecompress_cmpto_j2k "$dec_objs" -lcmpto_j2k_dec + add_module vcompress_cmpto_j2k "src/video_compress/cmpto_j2k.o $kernels" -lcmpto_j2k_enc + add_module vdecompress_cmpto_j2k "src/video_decompress/cmpto_j2k.o $kernels" -lcmpto_j2k_dec cmpto_j2k=yes fi