Makefile: Add an option to use system's freetype library
This commit is contained in:
parent
8b718d2ec6
commit
04a0219336
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -33,6 +33,7 @@ BUILD_LAME="ON" # Non-free, required for MP3 support. Override with "OFF" to dis
|
|||
BUILD_PULSEAUDIO="ON" # Override with "OFF" to disable.
|
||||
BUILD_JACK="ON" # Override with "OFF" to disable.
|
||||
BUILD_PORTAUDIO="ON" # Override with "OFF" to disable.
|
||||
USE_SYSTEM_FREETYPE="OFF" # Override with "ON" to enable. Requires freetype >= 2.5.2.
|
||||
|
||||
|
||||
UPDATE_CACHE="TRUE"# Override if building a DEB or RPM, or when installing to a non-standard location.
|
||||
|
@ -56,6 +57,7 @@ release:
|
|||
-DBUILD_PULSEAUDIO="${BUILD_PULSEAUDIO}" \
|
||||
-DBUILD_JACK="${BUILD_JACK}" \
|
||||
-DBUILD_PORTAUDIO="${BUILD_PORTAUDIO}" \
|
||||
-DUSE_SYSTEM_FREETYPE="${USE_SYSTEM_FREETYPE}" \
|
||||
-DCMAKE_SKIP_RPATH="${NO_RPATH}" ..; \
|
||||
make lrelease; \
|
||||
make -j ${CPUS}; \
|
||||
|
@ -80,6 +82,7 @@ debug:
|
|||
-DBUILD_PULSEAUDIO="${BUILD_PULSEAUDIO}" \
|
||||
-DBUILD_JACK="${BUILD_JACK}" \
|
||||
-DBUILD_PORTAUDIO="${BUILD_PORTAUDIO}" \
|
||||
-DUSE_SYSTEM_FREETYPE="${USE_SYSTEM_FREETYPE}" \
|
||||
-DCMAKE_SKIP_RPATH="${NO_RPATH}" ..; \
|
||||
make lrelease; \
|
||||
make -j ${CPUS}; \
|
||||
|
|
Loading…
Reference in a new issue