Changed order of libraries to hopefully make font_tool compile for Arthur.

This commit is contained in:
hiker 2014-06-16 09:39:37 +10:00
parent f1c8fcc6d4
commit 9cc34fd76b

View File

@ -14,10 +14,10 @@ if(FONT_TOOL)
if(FREETYPE_FOUND)
include_directories(${FREETYPE_INCLUDE_DIRS})
add_executable(font_tool CFontTool.cpp main.cpp)
target_link_libraries(font_tool stkirrlicht)
target_link_libraries(font_tool ${FREETYPE_LIBRARIES})
target_link_libraries(font_tool ${X11_Xft_LIB} Xxf86vm)
target_link_libraries(font_tool ${OPENGL_LIBRARIES})
target_link_libraries(font_tool stkirrlicht)
target_link_libraries(font_tool ${FONTCONFIG_LIBRARY})
else()
message(STATUS "Freetype was not found, the font tool won't be built (only useful for developers)")