tint2conf: Updates (work in progress)
git-svn-id: http://tint2.googlecode.com/svn/trunk@672 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
committed by
mrovi9000@gmail.com
parent
d584d04691
commit
88e0e4fed8
@@ -8,6 +8,7 @@ pkg_check_modules( GOBJECT2 REQUIRED gobject-2.0 )
|
||||
pkg_check_modules( IMLIB2 REQUIRED imlib2 )
|
||||
pkg_check_modules( GTHREAD2 REQUIRED gthread-2.0 )
|
||||
pkg_check_modules( GTK2 REQUIRED gtk+-x11-2.0 )
|
||||
pkg_check_modules( RSVG librsvg-2.0>=2.36.0 )
|
||||
|
||||
include_directories( ../util
|
||||
${X11_T2C_INCLUDE_DIRS}
|
||||
@@ -15,26 +16,44 @@ include_directories( ../util
|
||||
${GOBJECT2_INCLUDE_DIRS}
|
||||
${IMLIB2_INCLUDE_DIRS}
|
||||
${GTHREAD2_INCLUDE_DIRS}
|
||||
${GTK2_INCLUDE_DIRS} )
|
||||
${GTK2_INCLUDE_DIRS}
|
||||
${RSVG_INCLUDE_DIRS} )
|
||||
|
||||
set(SOURCES ../util/common.c
|
||||
../config.c
|
||||
../server.c
|
||||
../launcher/apps-common.c
|
||||
../launcher/icon-theme-common.c
|
||||
main.c
|
||||
properties.c
|
||||
properties_rw.c
|
||||
theme_view.c )
|
||||
|
||||
add_definitions( -DTINT2CONF )
|
||||
|
||||
option( ENABLE_RSVG "Rsvg support (launcher only)" ON )
|
||||
|
||||
if( ENABLE_RSVG )
|
||||
if( RSVG_FOUND )
|
||||
add_definitions( -DHAVE_RSVG )
|
||||
endif( RSVG_FOUND )
|
||||
endif( ENABLE_RSVG )
|
||||
|
||||
link_directories( ${X11_T2C_LIBRARY_DIRS}
|
||||
${GLIB2_LIBRARY_DIRS}
|
||||
${GOBJECT2_LIBRARY_DIRS}
|
||||
${IMLIB2_LIBRARY_DIRS}
|
||||
${GTHREAD2_LIBRARY_DIRS}
|
||||
${GTK2_LIBRARY_DIRS} )
|
||||
${GTK2_LIBRARY_DIRS}
|
||||
${RSVG_LIBRARY_DIRS} )
|
||||
add_executable( tint2conf ${SOURCES} )
|
||||
target_link_libraries( tint2conf ${X11_T2C_LIBRARIES}
|
||||
${GLIB2_LIBRARIES}
|
||||
${GOBJECT2_LIBRARIES}
|
||||
${IMLIB2_LIBRARIES}
|
||||
${GTHREAD2_LIBRARIES}
|
||||
${GTK2_LIBRARIES} )
|
||||
${GTK2_LIBRARIES}
|
||||
${RSVG_LIBRARIES} )
|
||||
|
||||
if ( NOT DATADIR )
|
||||
set( DATADIR share )
|
||||
|
||||
Reference in New Issue
Block a user