Eobj: Fixed issue with FindEina.cmake and things using it.
[profile/ivi/eobj.git] / examples / evas / CMakeLists.txt
1 LIST(APPEND EVAS_CC_SOURCES
2    elw_box.c
3    elw_boxedbutton.c
4    elw_win.c
5    elw_button.c
6    evas_obj.c
7    test.c
8    )
9
10 include_directories(
11    ${EINA_INCLUDE_DIRS}
12    ${EVAS_INCLUDE_DIRS}
13    ${ELEMENTARY_INCLUDE_DIRS}
14    ${CMAKE_SOURCE_DIR}/lib
15    )
16
17 add_executable(evas ${EVAS_CC_SOURCES})
18 get_target_property(eobj_LIB_FILE eobj LOCATION)
19 target_link_libraries(evas
20    ${EINA_LIBRARIES}
21    ${EINA_LDFLAGS_OTHER}
22    ${EVAS_LIBRARIES}
23    ${ELEMENTARY_LIBRARIES}
24    ${eobj_LIB_FILE}
25    )
26
27 add_dependencies(evas eobj)