X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Ftint2conf%2FCMakeLists.txt;h=fc15a24dce2029e851c3d22ae69952827b0012bf;hb=5987929085564f4e42b3985d939d1af3f8c3231a;hp=d527d8683a88e6f3c50fd0bebc3ad969dc67a22e;hpb=baef2c5ef3da2ae67400345beeb7853d60ec28b2;p=chaz%2Ftint2 diff --git a/src/tint2conf/CMakeLists.txt b/src/tint2conf/CMakeLists.txt index d527d86..fc15a24 100644 --- a/src/tint2conf/CMakeLists.txt +++ b/src/tint2conf/CMakeLists.txt @@ -19,7 +19,14 @@ include_directories( ../util 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} @@ -28,6 +35,7 @@ target_link_libraries( tint2conf ${X11_LIBRARIES} ${GTHREAD2_LIBRARIES} ${GTK2_LIBRARIES} ) +add_definitions( -DINSTALL_PREFIX=\"${CMAKE_INSTALL_PREFIX}\" ) set_target_properties( tint2conf PROPERTIES COMPILE_FLAGS -Wall ) #set_target_properties(tint2conf PROPERTIES LINK_FLAGS -Wl,--as-needed)