From b505945ef01ac5a74b413a5ab6b794b0db46aaf1 Mon Sep 17 00:00:00 2001 From: DavidLazarescu Date: Mon, 1 Apr 2024 13:37:23 +0200 Subject: [PATCH] Fixed build issue --- src/application/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/application/CMakeLists.txt b/src/application/CMakeLists.txt index 5e3426cdf..af4af4222 100644 --- a/src/application/CMakeLists.txt +++ b/src/application/CMakeLists.txt @@ -146,11 +146,11 @@ else() set(EXECUTABLE_EXTENSION ".exe") endif() +# Build mupdf add_custom_target(mupdf - # Build mupdf COMMAND ${CMAKE_COMMAND} -E env - "CC=${CC_COMMAND}" - "CXX=${CXX_COMMAND}" + $<$>:CC=${CC_COMMAND}> + $<$>:CXX=${CXX_COMMAND}> "USE_SYSTEM_LIBJPEG=${USE_SYSTEM_LIBJPEG_VALUE}" "USE_SONAME=no" ${MUPDF_BUILD_COMMAND}