@ -153,7 +153,7 @@ option(FT_WITH_HARFBUZZ "Improve auto-hinting of OpenType fonts." OFF)
# D i s a l l o w i n - s o u r c e b u i l d s
if ( "${PROJECT_BINARY_DIR}" STREQUAL "${PROJECT _SOURCE_DIR}" )
if ( "${CMAKE_BINARY_DIR}" STREQUAL "${CMAKE _SOURCE_DIR}" )
message ( FATAL_ERROR
" I n - s o u r c e b u i l d s a r e n o t p e r m i t t e d ! M a k e a s e p a r a t e f o l d e r f o r "
" b u i l d i n g , e . g . , \ n "
@ -356,17 +356,17 @@ if (BUILD_SHARED_LIBS)
S O V E R S I O N $ { L I B R A R Y _ S O V E R S I O N } )
endif ( )
target_include_directories (
f r e e t y p e B E F O R E # P i c k u p f t c o n f i g . h a n d f t o p t i o n . h g e n e r a t e d a b o v e .
P R I V A T E " $ { P R O J E C T _ B I N A R Y _ D I R } / i n c l u d e " )
# P i c k u p f t c o n f i g . h a n d f t o p t i o n . h g e n e r a t e d a b o v e , f i r s t .
target_include_directories (
f r e e t y p e
P R I V A T E " $ { P R O J E C T _ S O U R C E _ D I R } / i n c l u d e " )
P U B L I C
$ < I N S T A L L _ I N T E R F A C E : i n c l u d e / f r e e t y p e 2 >
$ < B U I L D _ I N T E R F A C E : $ { C M A K E _ C U R R E N T _ B I N A R Y _ D I R } / i n c l u d e >
$ < B U I L D _ I N T E R F A C E : $ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / i n c l u d e >
P R I V A T E
$ { C M A K E _ C U R R E N T _ B I N A R Y _ D I R } / i n c l u d e
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / i n c l u d e )
target_include_directories (
f r e e t y p e
P U B L I C $ < I N S T A L L _ I N T E R F A C E : i n c l u d e / f r e e t y p e 2 > )
if ( BUILD_FRAMEWORK )
set_property ( SOURCE ${ PUBLIC_CONFIG_HEADERS }