blob: 114408a83de934cc653ae9db691e169b86c1d109 (
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
|
#FIXME: Do not use CMAKE_CXX_FLAGS
IF(WAYLAND_SUPPORT)
SET(WIN_PKG "ecore-wayland")
ELSE(WAYLAND_SUPPORT)
SET(WIN_PKG "ecore-x")
ENDIF(WAYLAND_SUPPORT)
include(FindPkgConfig)
SET(_efl_pkgs_list
eina
ecore
evas
ecore-evas
eeze
elementary
ecore-input
ecore-imf
edje
${WIN_PKG}
)
pkg_check_modules(_efl_pkgs REQUIRED "${_efl_pkgs_list}")
include_directories(${_efl_pkgs_INCLUDE_DIRS})
FOREACH(flag ${_efl_pkgs_CFLAGS})
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${flag}")
ENDFOREACH(flag)
set(EFL_LDFLAGS ${_efl_pkgs_LDFLAGS})
|