wasm-micro-runtime/samples/linux-perf/cmake/FindWAMRC.cmake
liang.he@intel.com bfc9a4f66f Enhance wasm loading with LoadArgs and support module names
- a new API, wasm_runtime_load_ex().
- in perf.map, function names include user specified module name
- enhance the script to help flamegraph generations
2024-04-07 05:59:09 +00:00

14 lines
386 B
CMake

# Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
include(FindPackageHandleStandardArgs)
find_file(WAMRC_BIN
NAMES wamrc
DOC "search wamrc"
HINTS ${CMAKE_CURRENT_SOURCE_DIR}/../../../wamr-compiler/build
REQUIRED
)
find_package_handle_standard_args(WAMRC REQUIRED_VARS WAMRC_BIN)
mark_as_advanced(WAMRC_BIN)