mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Do not forget to export the new symbol.
This commit is contained in:
parent
cb869fd5a4
commit
370b6db3ae
@ -18,7 +18,7 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (EMSCRIPTEN)
|
if (EMSCRIPTEN)
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s EXPORTED_FUNCTIONS='[\"_compileJSON\",\"_version\"]'")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s EXPORTED_FUNCTIONS='[\"_compileJSON\",\"_version\",\"_compileJSONMulti\"]'")
|
||||||
add_executable(soljson jsonCompiler.cpp ${HEADERS})
|
add_executable(soljson jsonCompiler.cpp ${HEADERS})
|
||||||
eth_use(soljson REQUIRED Solidity)
|
eth_use(soljson REQUIRED Solidity)
|
||||||
else()
|
else()
|
||||||
|
Loading…
Reference in New Issue
Block a user