This file is part of MXE. See LICENSE.md for licensing information. Contains ad hoc patches for cross building. From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Thu, 20 Jul 2017 12:28:06 +1000 Subject: [PATCH] add option to disable programs taken from: https://github.com/mdadams/jasper/pull/144 diff --git a/CMakeLists.txt b/CMakeLists.txt index 1111111..2222222 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -91,6 +91,7 @@ option(JAS_ENABLE_STRICT "Enable pedantic error checking" false) option(JAS_ENABLE_AUTOMATIC_DEPENDENCIES "Enable automatic dependencies" true) option(JAS_LOCAL "Enable local hacks for developers (do not enable)" false) option(JAS_ENABLE_DOC "Enable building of the documentation" true) +option(JAS_ENABLE_PROGRAMS "Enable building of the programs" true) ################################################################################ # @@ -368,7 +369,9 @@ endif() ################################################################################ add_subdirectory(src/libjasper) -add_subdirectory(src/appl) +if (JAS_ENABLE_PROGRAMS) + add_subdirectory(src/appl) +endif () if (JAS_ENABLE_DOC) add_subdirectory(doc) endif ()