diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2021-09-08 14:21:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-08 14:21:34 -0700 |
commit | 4e4c53c62c93e6dbb165ac3e941ef85c65ddb359 (patch) | |
tree | 7e58f665f151b3a5949e10a42dfe84c468b6c9c2 /src | |
parent | d3e70f90d5b6ca975af8f19f171e4190d3652913 (diff) | |
download | binaryen-4e4c53c62c93e6dbb165ac3e941ef85c65ddb359.tar.gz binaryen-4e4c53c62c93e6dbb165ac3e941ef85c65ddb359.tar.bz2 binaryen-4e4c53c62c93e6dbb165ac3e941ef85c65ddb359.zip |
Do not use a library for wasm-split files (#4132)
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/wasm-split/CMakeLists.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tools/wasm-split/CMakeLists.txt b/src/tools/wasm-split/CMakeLists.txt index c6b5a2e7d..a7d0771ef 100644 --- a/src/tools/wasm-split/CMakeLists.txt +++ b/src/tools/wasm-split/CMakeLists.txt @@ -1,10 +1,8 @@ FILE(GLOB wasm_split_HEADERS *h) set(wasm_split_SOURCES + wasm-split.cpp split-options.cpp instrumenter.cpp ${wasm_split_HEADERS} ) -add_library(wasm-split-lib OBJECT ${wasm_split_SOURCES}) - -binaryen_add_executable(wasm-split wasm-split.cpp $<TARGET_OBJECTS:wasm-split-lib>) -target_link_libraries(wasm-split wasm-split-lib) +binaryen_add_executable(wasm-split "${wasm_split_SOURCES}") |