*fix* IMLIB2_LDFLAGS not FLAGS

*fix* link_directories needs to be called before the target is created


git-svn-id: http://tint2.googlecode.com/svn/trunk@498 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
Andreas.Fink85
2010-06-13 13:02:53 +00:00
parent 6d8a460434
commit ba32d259a0
2 changed files with 8 additions and 3 deletions

View File

@@ -21,6 +21,12 @@ set(SOURCES ../util/common.c
main.c
properties.c
theme_view.c )
link_directories( ${X11_LIBRARY_DIRS}
${GLIB2_LIBRARY_DIRS}
${GOBJECT2_LIBRARY_DIRS}
${IMLIB2_LIBRARY_DIRS}
${GTHREAD2_LIBRARY_DIRS}
${GTK2_LIBRARY_DIRS} )
add_executable( tint2conf ${SOURCES} )
target_link_libraries( tint2conf ${X11_LIBRARIES}
${GLIB2_LIBRARIES}