We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ba6532 commit 955fce5Copy full SHA for 955fce5
build-scripts/package.cmake
@@ -1,6 +1,8 @@
1
# Copyright (C) 2019 Intel Corporation. All rights reserved.
2
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3
4
+set(_WAMR_BUILD_SCRIPTS_DIR "${CMAKE_CURRENT_LIST_DIR}")
5
+
6
function(install_iwasm_package)
7
install (EXPORT iwasmTargets
8
FILE iwasmTargets.cmake
@@ -9,7 +11,7 @@ function(install_iwasm_package)
9
11
)
10
12
13
include (CMakePackageConfigHelpers)
- configure_package_config_file (${CMAKE_CURRENT_FUNCTION_LIST_DIR}/iwasmConfig.cmake.in
14
+ configure_package_config_file (${_WAMR_BUILD_SCRIPTS_DIR}/iwasmConfig.cmake.in
15
"${CMAKE_CURRENT_BINARY_DIR}/iwasmConfig.cmake"
16
INSTALL_DESTINATION lib/cmake/iwasm
17
0 commit comments