Mgfractal: Add 3D and 4D fractals
[oweals/minetest.git] / src / cguittfont / CMakeLists.txt
index d2647ba694da53b97eb0a65a7ad5ec55779783b6..6cd35f310fa36527b379c1863e12548adb8aada8 100644 (file)
@@ -2,13 +2,13 @@
 #   Do not add CGUITTFont.cpp to the line below.
 #   xCGUITTFont.cpp is a wrapper file that includes
 #   additional required headers.
-add_library(cguittfont xCGUITTFont.cpp)
+add_library(cguittfont STATIC xCGUITTFont.cpp)
 
 if(FREETYPE_PKGCONFIG_FOUND)
        set_target_properties(cguittfont
                PROPERTIES
-               COMPILE_FLAGS "${FREETYPE_CFLAGS}"
-               LINK_FLAGS "${FREETYPE_LDFLAGS}"
+               COMPILE_FLAGS "${FREETYPE_CFLAGS_STR}"
+               LINK_FLAGS "${FREETYPE_LDFLAGS_STR}"
        )
 
        include_directories(
@@ -27,3 +27,4 @@ target_link_libraries(
        ${FREETYPE_LIBRARY}
        ${ZLIB_LIBRARIES}  # needed by freetype, repeated here for safety
        )
+