mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Build: Don't build bundles on Apple OSes.
Thanks to Daniel Packard.
This commit is contained in:
parent
29050c79f1
commit
880596e4b8
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue