diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2c502812e..9a21cb47b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -281,16 +281,12 @@ SET_PROPERTY(TARGET wasm-ctor-eval PROPERTY CXX_STANDARD 11) SET_PROPERTY(TARGET wasm-ctor-eval PROPERTY CXX_STANDARD_REQUIRED ON) INSTALL(TARGETS wasm-ctor-eval DESTINATION bin) -IF (UNIX) # TODO: port to windows - - SET(wasm-reduce_SOURCES - src/tools/wasm-reduce.cpp - ) - ADD_EXECUTABLE(wasm-reduce - ${wasm-reduce_SOURCES}) - TARGET_LINK_LIBRARIES(wasm-reduce wasm asmjs passes wasm ir cfg support) - SET_PROPERTY(TARGET wasm-reduce PROPERTY CXX_STANDARD 11) - SET_PROPERTY(TARGET wasm-reduce PROPERTY CXX_STANDARD_REQUIRED ON) - INSTALL(TARGETS wasm-reduce DESTINATION ${CMAKE_INSTALL_BINDIR}) - -ENDIF() +SET(wasm-reduce_SOURCES + src/tools/wasm-reduce.cpp +) +ADD_EXECUTABLE(wasm-reduce + ${wasm-reduce_SOURCES}) +TARGET_LINK_LIBRARIES(wasm-reduce wasm asmjs passes wasm ir cfg support) +SET_PROPERTY(TARGET wasm-reduce PROPERTY CXX_STANDARD 11) +SET_PROPERTY(TARGET wasm-reduce PROPERTY CXX_STANDARD_REQUIRED ON) +INSTALL(TARGETS wasm-reduce DESTINATION ${CMAKE_INSTALL_BINDIR}) |