From 6edff0c70edb0eeaa70019f4733b003bf44b5c9e Mon Sep 17 00:00:00 2001 From: halx99 Date: Sun, 25 Apr 2021 22:15:25 +0800 Subject: [PATCH] [libjpeg-turbo] Execlude execute targets --- external/jpeg/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/external/jpeg/CMakeLists.txt b/external/jpeg/CMakeLists.txt index 84f21575c4..1c58ee66e3 100644 --- a/external/jpeg/CMakeLists.txt +++ b/external/jpeg/CMakeLists.txt @@ -671,6 +671,7 @@ if(WITH_TURBOJPEG) endif() endif() +if(WITH_TOOLS) if(WIN32) set(USE_SETMODE "-DUSE_SETMODE") endif() @@ -701,7 +702,7 @@ endif() add_executable(rdjpgcom rdjpgcom.c) add_executable(wrjpgcom wrjpgcom.c) - +endif() ############################################################################### # TESTS