mirror of
https://github.com/86Box/86Box.git
synced 2026-02-24 10:28:19 -07:00
* macOS: Build fixes for fluidsynth and ghostscript to ensure they get detected and bundled. Add required packages for build. * macOS: Don't link against fluidsynth and only bundle if detected. --------- Co-authored-by: cold-brewed <cold-brewed@users.noreply.github.com>
23 lines
763 B
CMake
23 lines
763 B
CMake
#
|
|
# 86Box A hypervisor and IBM PC system emulator that specializes in
|
|
# running old operating systems and software designed for IBM
|
|
# PC systems and compatibles from 1981 through fairly recent
|
|
# system designs based on the PCI bus.
|
|
#
|
|
# This file is part of the 86Box distribution.
|
|
#
|
|
# CMake build script.
|
|
#
|
|
# Authors: David Hrdlička, <hrdlickadavid@outlook.com>
|
|
#
|
|
# Copyright 2020-2021 David Hrdlička.
|
|
#
|
|
|
|
add_library(print OBJECT png.c prt_cpmap.c prt_escp.c prt_text.c prt_ps.c)
|
|
|
|
if(APPLE)
|
|
find_library(GHOSTSCRIPT_LIB gs)
|
|
if (NOT GHOSTSCRIPT_LIB)
|
|
message(WARNING "Could not find ghostscript. The library will not be bundled and any related features will not work.")
|
|
endif()
|
|
endif () |