File tree 2 files changed +7
-4
lines changed 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 96
96
endif ()
97
97
endif ()
98
98
99
- target_include_directories (wasmtime INTERFACE ${CMAKE_CURRENT_SOURCE_DIR} /include )
100
-
101
99
target_include_directories (wasmtime INTERFACE ${CMAKE_BINARY_DIR} /include )
100
+ set (WASMTIME_HEADER_DST ${CMAKE_BINARY_DIR} /include )
101
+ include (cmake/install -headers.cmake)
102
102
103
103
include (GNUInstallDirs)
104
104
install (SCRIPT ${CMAKE_CURRENT_SOURCE_DIR} /cmake/install -headers.cmake)
Original file line number Diff line number Diff line change @@ -2,8 +2,11 @@ cmake_minimum_required(VERSION 3.12)
2
2
3
3
include (${CMAKE_CURRENT_LIST_DIR} /features.cmake)
4
4
5
- set (dst "${CMAKE_INSTALL_PREFIX} /include" )
6
- message (STATUS "dst: ${dst} " )
5
+ if (WASMTIME_HEADER_DST)
6
+ set (dst "${WASMTIME_HEADER_DST} " )
7
+ else ()
8
+ set (dst "${CMAKE_INSTALL_PREFIX} /include" )
9
+ endif ()
7
10
set (include_src "${CMAKE_CURRENT_LIST_DIR} /../include" )
8
11
9
12
message (STATUS "Installing: ${dst} /wasmtime/conf.h" )
You can’t perform that action at this time.
0 commit comments