From 2633d573a24b378e5751b3ec910e73b116f6e323 Mon Sep 17 00:00:00 2001 From: Alex Bocharov Date: Fri, 7 Sep 2018 13:57:31 -0700 Subject: [PATCH] Fix capnp builld dependencies order. --- cmake/find_capnp.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/find_capnp.cmake b/cmake/find_capnp.cmake index 6c064112686..ec591afdc38 100644 --- a/cmake/find_capnp.cmake +++ b/cmake/find_capnp.cmake @@ -29,7 +29,7 @@ if (ENABLE_CAPNP) find_library (CAPNP capnp PATHS ${CAPNP_PATHS}) find_library (CAPNPC capnpc PATHS ${CAPNP_PATHS}) find_library (KJ kj PATHS ${CAPNP_PATHS}) - set (CAPNP_LIBRARY ${CAPNP} ${CAPNPC} ${KJ}) + set (CAPNP_LIBRARY ${CAPNPC} ${CAPNP} ${KJ}) find_path (CAPNP_INCLUDE_DIR NAMES capnp/schema-parser.h PATHS ${CAPNP_INCLUDE_PATHS}) endif ()