diff options
author | Sam Clegg <sbc@chromium.org> | 2024-05-17 11:16:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-17 11:16:22 -0700 |
commit | f4a83dd7370021caea7d3b4f97031e206a3ac223 (patch) | |
tree | dfbc4f24a697c8f3c66a4e0aa373bfc3dd21661c /CMakeLists.txt | |
parent | 669bc06d0566041bfdbae97f87e60130945b557f (diff) | |
download | binaryen-f4a83dd7370021caea7d3b4f97031e206a3ac223.tar.gz binaryen-f4a83dd7370021caea7d3b4f97031e206a3ac223.tar.bz2 binaryen-f4a83dd7370021caea7d3b4f97031e206a3ac223.zip |
[cmake] Remove redundant `binaryen_emscripten_SOURCES` (#6602)
This list is identical to `binaryen_SOURCES` above.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 41b865612..07dc8d281 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -466,14 +466,9 @@ endif() # Note that SHELL: is needed as otherwise cmake will coalesce -s link flags # in an incorrect way for emscripten. if(EMSCRIPTEN) - set(binaryen_emscripten_SOURCES - src/binaryen-c.cpp - ${binaryen_HEADERS} - ) - # binaryen.js WebAssembly variant add_executable(binaryen_wasm - ${binaryen_emscripten_SOURCES}) + ${binaryen_SOURCES}) target_link_libraries(binaryen_wasm wasm asmjs emscripten-optimizer passes ir cfg support analysis parser wasm) target_link_libraries(binaryen_wasm "-sFILESYSTEM") target_link_libraries(binaryen_wasm "-sEXPORT_NAME=Binaryen") @@ -498,7 +493,7 @@ if(EMSCRIPTEN) # binaryen.js JavaScript variant add_executable(binaryen_js - ${binaryen_emscripten_SOURCES}) + ${binaryen_SOURCES}) target_link_libraries(binaryen_js wasm asmjs emscripten-optimizer passes ir cfg support analysis parser wasm) target_link_libraries(binaryen_js "-sWASM=0") target_link_libraries(binaryen_js "-sWASM_ASYNC_COMPILATION=0") |