diff options
-rw-r--r-- | libproxy/cmake/modules/config_gnome.cmk | 6 |
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() |