]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
Build: Don't build bundles on Apple OSes.
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 16 Dec 2020 16:30:14 +0000 (18:30 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Wed, 16 Dec 2020 16:30:14 +0000 (18:30 +0200)
Thanks to Daniel Packard.

CMakeLists.txt

index c21ab567a4648c26efede48f1148bdec2bf465bf..5fe769b993e5828dbcc836c7ca7062b2344a7038 100644 (file)
@@ -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: