summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordominique.leuenberger@gmail.com <dominique.leuenberger@gmail.com@c587cffe-e639-0410-9787-d7902ae8ed56>2011-04-28 21:19:01 +0000
committerdominique.leuenberger@gmail.com <dominique.leuenberger@gmail.com@c587cffe-e639-0410-9787-d7902ae8ed56>2011-04-28 21:19:01 +0000
commit5d4ae59a0a91a5b5f88bbb813bef3fef5eb9e108 (patch)
treebf10558bfe192432202526bfa15ba2d016f7ad6d
parent715875096564493ef5d27d95f6c61a4df4ca2e6e (diff)
downloadlibproxy-5d4ae59a0a91a5b5f88bbb813bef3fef5eb9e108.tar.gz
BUILD: pxgsettings and pxgconf are being skipped due to wrong GNOME/GNOME2/GNOME3 checks
git-svn-id: http://libproxy.googlecode.com/svn/trunk@799 c587cffe-e639-0410-9787-d7902ae8ed56
-rw-r--r--libproxy/cmake/modules/config_gnome.cmk6
1 files changed, 3 insertions, 3 deletions
diff --git a/libproxy/cmake/modules/config_gnome.cmk b/libproxy/cmake/modules/config_gnome.cmk
index 18285bf..d504a66 100644
--- a/libproxy/cmake/modules/config_gnome.cmk
+++ b/libproxy/cmake/modules/config_gnome.cmk
@@ -7,14 +7,14 @@ if (NOT WIN32 AND NOT APPLE)
endif(WITH_GNOME3)
# GNOME (gconf) helper
- if(GNOME_FOUND)
+ if(GNOME2_FOUND OR GNOME3_FOUND)
if(WITH_GNOME3)
add_executable(pxgsettings modules/pxgsettings.cpp)
- target_link_libraries(pxgsettings ${GNOME_LIBRARIES})
+ target_link_libraries(pxgsettings ${GNOME3_LIBRARIES})
install(TARGETS pxgsettings RUNTIME DESTINATION ${LIBEXEC_INSTALL_DIR})
else(WITH_GNOME3)
add_executable(pxgconf modules/pxgconf.cpp)
- target_link_libraries(pxgconf ${GNOME_LIBRARIES})
+ target_link_libraries(pxgconf ${GNOME2_LIBRARIES})
install(TARGETS pxgconf RUNTIME DESTINATION ${LIBEXEC_INSTALL_DIR})
endif(WITH_GNOME3)
endif()