PLATFORM_EMSCRIPTEN -> EMSCRIPTEN

This commit is contained in:
lizzie
2026-09-01 21:26:37 +00:00
parent 59f01af896
commit ab932a21f5
7 changed files with 14 additions and 16 deletions
+2 -2
View File
@@ -101,7 +101,7 @@ if (MINGW)
"${CMAKE_EXE_LINKER_FLAGS_RELEASE} ${MINGW_FLAGS}")
endif()
if (PLATFORM_EMSCRIPTEN)
if (EMSCRIPTEN)
set(EMSCRIPTEN_C_FLAGS "-s MEMORY64 -m64 -pipe -sMEMORY64=1")
set(EMSCRIPTEN_LINK_FLAGS "-sMEMORY64=1 -m64 -Wl,-mwasm64 -sASYNCIFY=1")
@@ -119,6 +119,6 @@ if (PLATFORM_EMSCRIPTEN)
endif()
# awesome
if (PLATFORM_FREEBSD OR PLATFORM_DRAGONFLYBSD)
if (FREEBSD OR DRAGONFLYBSD)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -L${CMAKE_SYSROOT}/usr/local/lib")
endif()