From: Lasse Collin Date: Wed, 16 Dec 2020 16:30:14 +0000 (+0200) Subject: Build: Don't build bundles on Apple OSes. X-Git-Tag: v5.3.2alpha~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21588ca34af98738954fc12ded1b89d7294ef646;p=thirdparty%2Fxz.git Build: Don't build bundles on Apple OSes. Thanks to Daniel Packard. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index c21ab567..5fe769b9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,6 +70,9 @@ string(REGEX REPLACE # Among other things, this gives us variables xz_VERSION and xz_VERSION_MAJOR. project(xz VERSION "${XZ_VERSION}" LANGUAGES C) +# On Apple OSes, don't build executables as bundles: +set(CMAKE_MACOSX_BUNDLE OFF) + # Definitions common to all targets: add_compile_definitions( # Package info: