Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit 5155b36

Browse files
authored
Merge pull request #1113 from malin1993ml/master
Add back some variable settings for capnproto.
2 parents 6c65689 + 270d358 commit 5155b36

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cmake/External/capnproto.cmake

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ if (NOT __CAPNP_INCLUDED) # guard against multiple includes
4444
LOG_INSTALL 1
4545
)
4646

47+
set(CAPNP_FOUND TRUE)
48+
set(CAPNP_EXECUTABLE ${capnp_INSTALL}/bin/capnp)
49+
set(CAPNPC_CXX_EXECUTABLE ${capnp_INSTALL}/bin/capnpc-c++)
50+
set(CAPNP_INCLUDE_DIRS ${capnp_INSTALL}/include)
51+
set(CAPNP_INCLUDE_DIRECTORY ${capnp_INSTALL}/include)
52+
set(CAPNP_EXTERNAL TRUE)
53+
4754
list(APPEND external_project_dependencies capnp)
4855

4956
endif()

0 commit comments

Comments
 (0)