diff --git a/src/application/CMakeLists.txt b/src/application/CMakeLists.txt index afc52a4e4..0a41c5fd4 100644 --- a/src/application/CMakeLists.txt +++ b/src/application/CMakeLists.txt @@ -115,7 +115,7 @@ elseif(WIN32) set(MUPDF_OUTPUT_DIR "${PROJECT_SOURCE_DIR}/libs/mupdf/platform/win32/x64/$,Debug,Release>") set(MUPDF_OUTPUT "${MUPDF_OUTPUT_DIR}/mupdfcpp64.lib" PARENT_SCOPE) set(MUPDF_OUTPUT "${MUPDF_OUTPUT_DIR}/mupdfcpp64.lib") - set(MUPDF_BUILD_COMMAND python scripts/mupdfwrap.py ${VENV_OPTION} -d build/$,shared-debug,shared-release> -b -j 0 m01) + set(MUPDF_BUILD_COMMAND python scripts/mupdfwrap.py ${VENV_OPTION} -d build/$,shared-debug,shared-release> -b --m-target mutool -j 0 m01) endif() message("MuPdf build command: " ${MUPDF_BUILD_COMMAND})