diff options
Diffstat (limited to 'sdk/compiler/cmake/modules/FindCapnProtoSDK.cmake')
| -rw-r--r-- | sdk/compiler/cmake/modules/FindCapnProtoSDK.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sdk/compiler/cmake/modules/FindCapnProtoSDK.cmake b/sdk/compiler/cmake/modules/FindCapnProtoSDK.cmake index 9e2cd60..1813e87 100644 --- a/sdk/compiler/cmake/modules/FindCapnProtoSDK.cmake +++ b/sdk/compiler/cmake/modules/FindCapnProtoSDK.cmake @@ -9,7 +9,9 @@ include(FindPackageHandleStandardArgs) # TODO: Do the version stuff properly! find_path(CAPNPROTOSDK_PATH src/capnp/message.h - PATHS ${GW_DEPS_ROOT}/$ENV{PM_CapnProto_NAME}/${CapnProtoSDK_FIND_VERSION} + PATHS + $ENV{PM_CapnProto_PATH} + ${GW_DEPS_ROOT}/$ENV{PM_CapnProto_NAME}/${CapnProtoSDK_FIND_VERSION} ) if (TARGET_BUILD_PLATFORM STREQUAL "Windows") |