1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-29 03:33:48 +00:00

fix build failing when the Aquaria repo was located in a path containing spaces

(thx NinjaKittyc4)
This commit is contained in:
fgenesis 2024-07-16 02:53:02 +02:00
parent 6047dd61b1
commit 62c29dc2c9

View file

@ -5,8 +5,8 @@
OPTION(AQUARIA_INTERNAL_FREETYPE "Always use included FreeType library" TRUE)
if(AQUARIA_INTERNAL_FREETYPE)
message(STATUS "Using internal copy of freetype2")
SET(FREETYPE2DIR ${CMAKE_CURRENT_SOURCE_DIR}/freetype2)
SET(FREETYPE2SRCDIR ${FREETYPE2DIR}/src)
SET(FREETYPE2DIR "${CMAKE_CURRENT_SOURCE_DIR}/freetype2")
SET(FREETYPE2SRCDIR "${FREETYPE2DIR}/src")
set(FREETYPE_INCLUDE_DIRS "${FREETYPE2DIR}/include" CACHE INTERNAL "")
SET(FREETYPE2_SRCS
${FREETYPE2SRCDIR}/base/ftsystem.c