File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -67,8 +67,6 @@ if(UNIX AND NOT APPLE)
67
67
find_package (Fontconfig)
68
68
if (Fontconfig_FOUND)
69
69
add_definitions (-DFONTCONFIG)
70
- include_directories (${Fontconfig_INCLUDE_DIRS} )
71
- link_libraries (${Fontconfig_LIBRARIES} )
72
70
endif ()
73
71
endif ()
74
72
@@ -244,6 +242,11 @@ if(TARGET SDL2::SDL2 OR TARGET SDL::SDL)
244
242
if (X11_FOUND)
245
243
target_link_libraries (odamex X11)
246
244
endif ()
245
+ if (Fontconfig_FOUND)
246
+ target_include_directories (odamex ${Fontconfig_INCLUDE_DIRS} )
247
+ target_link_libraries (odamex ${Fontconfig_LIBRARIES} )
248
+ target_compile_options (odamex PRIVATE ${Fontconfig_COMPILE_OPTIONS} )
249
+ endif ()
247
250
endif ()
248
251
249
252
odamex_copy_libs(odamex)
Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ Fl_Image* GUIRes::icon_odamex_128()
67
67
68
68
#else
69
69
70
- bool LOAD_FONT () { return false ; }
71
- void UNLOAD_FONT () {}
70
+ bool LOAD_FONT (const char * ) { return false ; }
71
+ void UNLOAD_FONT (const char * ) {}
72
72
73
73
#endif
74
74
You can’t perform that action at this time.
0 commit comments