Build: Don't build bundles on Apple OSes.

Thanks to Daniel Packard.
This commit is contained in:
Lasse Collin 2020-12-16 18:30:14 +02:00
parent d05b0c42dd
commit 21588ca34a
1 changed files with 3 additions and 0 deletions

View File

@ -70,6 +70,9 @@ string(REGEX REPLACE
# Among other things, this gives us variables xz_VERSION and xz_VERSION_MAJOR. # Among other things, this gives us variables xz_VERSION and xz_VERSION_MAJOR.
project(xz VERSION "${XZ_VERSION}" LANGUAGES C) 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: # Definitions common to all targets:
add_compile_definitions( add_compile_definitions(
# Package info: # Package info: