blob: ae039b4a4704464c4732d6a4a06f8b38f3c63a72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# -*- cmake -*-
include(Prebuilt)
include(FreeType)
include(GLIB)
add_library( ll::uilibraries INTERFACE IMPORTED )
if (LINUX)
use_prebuilt_binary(fltk)
target_compile_definitions(ll::uilibraries INTERFACE LL_FLTK=1 LL_X11=1 )
if( USE_CONAN )
return()
endif()
target_link_libraries( ll::uilibraries INTERFACE
fltk
Xrender
Xcursor
Xfixes
Xext
Xft
Xinerama
X11
ll::fontconfig
ll::freetype
ll::SDL2
ll::glib
ll::gio
)
endif (LINUX)
if( WINDOWS )
target_link_libraries( ll::uilibraries INTERFACE
opengl32
comdlg32
dxguid
kernel32
odbc32
odbccp32
oleaut32
shell32
Vfw32
wer
winspool
imm32
)
endif()
target_include_directories( ll::uilibraries SYSTEM INTERFACE
${LIBS_PREBUILT_DIR}/include
)
|