~ubuntu-branches/ubuntu/saucy/cairo-dock-plug-ins/saucy

« back to all changes in this revision

Viewing changes to xfce-integration/src/CMakeLists.txt

Tags: upstream-3.0.0.0beta1
ImportĀ upstreamĀ versionĀ 3.0.0.0beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
        applet-utils.h
10
10
)
11
11
if(${XFCE_INTEGRATION_GVFS_FOUND})
 
12
        SET (XFCE_INTEGRATION_INCLUDE_DIRS ${XFCE_INTEGRATION_GVFS_INCLUDE_DIRS})
 
13
        SET (XFCE_INTEGRATION_LIBRARY_DIRS ${XFCE_INTEGRATION_GVFS_LIBRARY_DIRS})
 
14
        SET (XFCE_INTEGRATION_LIBRARIES ${XFCE_INTEGRATION_GVFS_LIBRARIES})
12
15
        MESSAGE(STATUS "  GVFS found: source file applet-thunar-vfs.c NOT included for compilation.")
13
16
else()
14
17
        LIST(APPEND cd_xfce-integration_LIB_SRCS applet-thunar-vfs.c)
15
18
        add_definitions (-DHAVE_THUNAR="1")
 
19
        SET (XFCE_INTEGRATION_INCLUDE_DIRS ${XFCE_INTEGRATION_THUNAR_INCLUDE_DIRS})
 
20
        SET (XFCE_INTEGRATION_LIBRARY_DIRS ${XFCE_INTEGRATION_THUNAR_LIBRARY_DIRS})
 
21
        SET (XFCE_INTEGRATION_LIBRARIES ${XFCE_INTEGRATION_THUNAR_LIBRARIES})
16
22
        MESSAGE(STATUS "  GVFS NOT found: source file applet-thunar-vfs.c included for compilation.")
17
23
endif()
18
24
 
30
36
 
31
37
include_directories (
32
38
        ${PACKAGE_INCLUDE_DIRS}
33
 
        ${XFCE_INTEGRATION_THUNAR_INCLUDE_DIRS}
34
 
        ${XFCE_INTEGRATION_GVFS_INCLUDE_DIRS}
 
39
        ${XFCE_INTEGRATION_INCLUDE_DIRS}
35
40
        ${CMAKE_SOURCE_DIR}/gvfs-integration)
36
41
 
37
42
link_directories (
38
43
        ${PACKAGE_LIBRARY_DIRS}
39
 
        ${XFCE_INTEGRATION_THUNAR_LIBRARY_DIRS}
40
 
        ${XFCE_INTEGRATION_GVFS_LIBRARY_DIRS}
 
44
        ${XFCE_INTEGRATION_LIBRARY_DIRS}
41
45
        ${CMAKE_SOURCE_DIR}/gvfs-integration)
42
46
 
43
47
target_link_libraries (${PACKAGE_XFCE_INTEGRATION}
44
48
        ${PACKAGE_LIBRARIES}
45
 
        ${XFCE_INTEGRATION_THUNAR_LIBRARIES}
46
 
        ${XFCE_INTEGRATION_GVFS_LIBRARIES}
 
49
        ${XFCE_INTEGRATION_LIBRARIES}
47
50
        gvfs-integration)
48
51
 
49
52
########### install files ###############