diff options
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f2c1e166a..4bc9f890c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -185,6 +185,9 @@ if(USE_FREETYPE) if(FREETYPE_FOUND) SET(FREETYPE_PKGCONFIG_FOUND TRUE) SET(FREETYPE_LIBRARY ${FREETYPE_LIBRARIES}) + # because cmake is idiotic + string(REPLACE ";" " " FREETYPE_CFLAGS_STR ${FREETYPE_CFLAGS}) + string(REPLACE ";" " " FREETYPE_LDFLAGS_STR ${FREETYPE_LDFLAGS}) endif(FREETYPE_FOUND) endif(PKG_CONFIG_FOUND) endif(UNIX) @@ -466,7 +469,7 @@ if(BUILD_CLIENT) if(FREETYPE_PKGCONFIG_FOUND) set_target_properties(${PROJECT_NAME} PROPERTIES - COMPILE_FLAGS "${FREETYPE_CFLAGS}" + COMPILE_FLAGS "${FREETYPE_CFLAGS_STR}" ) endif(FREETYPE_PKGCONFIG_FOUND) target_link_libraries( |