Przeglądaj źródła

sgx-ra: Disable the building of samples (#2507)

Jämes Ménétrey 2 lat temu
rodzic
commit
ff151fb7ba
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      core/iwasm/libraries/lib-rats/lib_rats.cmake

+ 1 - 1
core/iwasm/libraries/lib-rats/lib_rats.cmake

@@ -23,7 +23,7 @@ include(FetchContent)
 set(RATS_BUILD_MODE "sgx"
 set(RATS_BUILD_MODE "sgx"
     CACHE INTERNAL "Select build mode for librats(host|occlum|sgx|wasm)")
     CACHE INTERNAL "Select build mode for librats(host|occlum|sgx|wasm)")
 set(RATS_INSTALL_PATH  "${CMAKE_BINARY_DIR}/librats" CACHE INTERNAL "")
 set(RATS_INSTALL_PATH  "${CMAKE_BINARY_DIR}/librats" CACHE INTERNAL "")
-set(BUILD_SAMPLES OFF)
+set(BUILD_SAMPLES OFF CACHE BOOL "Disable de compilation of the librats samples" FORCE)
 
 
 FetchContent_Declare(
 FetchContent_Declare(
     librats
     librats