mirror of https://git.tukaani.org/xz.git
Build: Don't build bundles on Apple OSes.
Thanks to Daniel Packard.
This commit is contained in:
parent
d05b0c42dd
commit
21588ca34a
|
@ -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 New Issue