>From abda2febfece390d0d8ffd19115a1b6e7aa1b0d2 Mon Sep 17 00:00:00 2001 From: Michael James Gratton Date: Tue, 10 Jan 2017 00:32:48 +1100 Subject: [PATCH] Fix build not able to find webkitgtk-3 vapi. * src/CMakeLists.txt: Make geary-client depend on the VAPI generation, not the final client binary. --- src/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ec1a49b..31206ad 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -651,6 +651,7 @@ OPTIONS ) add_library(geary-client STATIC ${CLIENT_VALA_C}) +add_dependencies(geary-client webkitgtk-vapi) target_link_libraries(geary-client m ${DEPS_LIBRARIES} geary-engine) # Main client application binary @@ -659,7 +660,6 @@ target_link_libraries(geary-client m ${DEPS_LIBRARIES} geary-engine) vala_precompile(GEARY_VALA_C geary "client/application/main.vala" PACKAGES - webkitgtk-3.0 ${ENGINE_PACKAGES} ${CLIENT_PACKAGES} geary-client @@ -668,7 +668,6 @@ OPTIONS ) add_executable(geary ${GEARY_VALA_C} ${RESOURCES_C}) -add_dependencies(geary webkitgtk-vapi) target_link_libraries(geary ${DEPS_LIBRARIES} geary-client) install(TARGETS geary RUNTIME DESTINATION bin) add_custom_command( -- 2.9.3