Enable shared memory && add pthread support (#282)
This commit is contained in:
13
core/iwasm/libraries/thread-mgr/thread_mgr.cmake
Normal file
13
core/iwasm/libraries/thread-mgr/thread_mgr.cmake
Normal file
@ -0,0 +1,13 @@
|
||||
# Copyright (C) 2019 Intel Corporation. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
|
||||
set (THREAD_MGR_DIR ${CMAKE_CURRENT_LIST_DIR})
|
||||
|
||||
add_definitions (-DWASM_ENABLE_THREAD_MGR=1)
|
||||
|
||||
include_directories(${THREAD_MGR_DIR})
|
||||
|
||||
file (GLOB source_all ${THREAD_MGR_DIR}/*.c)
|
||||
|
||||
set (THREAD_MGR_SOURCE ${source_all})
|
||||
|
||||
Reference in New Issue
Block a user