Skip to content

Commit d2d727f

Browse files
committed
Revert "Set export name when compiling with emscripten"
This reverts commit 27f4bf8 as it only makes sense when building the final application.
1 parent 1a968a1 commit d2d727f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Diff for: cmake/modules/BasicConfig.cmake

-5
Original file line numberDiff line numberDiff line change
@@ -611,11 +611,6 @@ if (GCOV_COVERAGE_ENABLED)
611611
list(APPEND META_ADDITIONAL_LINK_FLAGS ${GCC_COVERAGE_FLAGS})
612612
endif ()
613613

614-
# set export name when compiling with emscripten
615-
if (CMAKE_C_COMPILER MATCHES ".*emcc$")
616-
list(APPEND PRIVATE_LIBRARIES "-sEXPORT_NAME='${META_PROJECT_VARNAME_LOWER}'")
617-
endif ()
618-
619614
# configure creation of install targets
620615
if (NOT META_NO_INSTALL_TARGETS)
621616
# install targets have not been disabled on project level check whether install targets are disabled by the user this

0 commit comments

Comments
 (0)