You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by ms...@apache.org on 2021/06/18 19:45:29 UTC

[incubator-teaclave] branch master updated: Fix some building issues (#511)

This is an automated email from the ASF dual-hosted git repository.

mssun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave.git


The following commit(s) were added to refs/heads/master by this push:
     new 757942d  Fix some building issues (#511)
757942d is described below

commit 757942d4f9440ccbdc79cf0d9c216f88390af096
Author: Mingshen Sun <bo...@mssun.me>
AuthorDate: Fri Jun 18 12:45:20 2021 -0700

    Fix some building issues (#511)
---
 CMakeLists.txt            | 2 +-
 cmake/TeaclaveUtils.cmake | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b3ddba1..e0a1ff0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -200,7 +200,7 @@ add_custom_target(mesapy
   )
 
 add_custom_target(wamr
-  DEPENDS $(WAMR_TEACLAVE_ROOT_DIR)/CMakeLists.txt ${WAMR_OUTPUTS}
+  DEPENDS ${WAMR_TEACLAVE_ROOT_DIR}/CMakeLists.txt ${WAMR_OUTPUTS}
   )
 
 # mesapy components
diff --git a/cmake/TeaclaveUtils.cmake b/cmake/TeaclaveUtils.cmake
index 83cee77..97acc47 100644
--- a/cmake/TeaclaveUtils.cmake
+++ b/cmake/TeaclaveUtils.cmake
@@ -58,7 +58,7 @@ function(init_submodules)
         )
       endif()
       # Patch WAMR after pulling
-      if(NOT EXISTS "${PROJECT_SOURCE_DIR}/third_party/wasm-micro-runtime/product-mini/platforms/teaclave/CMakeLists.txt")
+      if(NOT EXISTS "${PROJECT_SOURCE_DIR}/third_party/wasm-micro-runtime/product-mini/platforms/teaclave-sgx/CMakeLists.txt")
         execute_process(
           COMMAND 
             patch -N -p1

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org