mirror of
https://github.com/QuasarApp/CMake.git
synced 2025-05-13 17:59:33 +00:00
added wasm_32 variable
This commit is contained in:
parent
4246ffe2c7
commit
e9bb164490
@ -58,6 +58,7 @@ function(initWasmSupport name deployFile)
|
||||
if (DEFINED TARGET_PLATFORM_TOOLCHAIN)
|
||||
if (${TARGET_PLATFORM_TOOLCHAIN} STREQUAL "wasm32")
|
||||
message(added deploy step for site)
|
||||
set(QA_WASM32 ON CACHE BOOL "Custom define that enabled only when wasm32 platform are used" FORCE)
|
||||
|
||||
set_target_properties(${name} PROPERTIES OUTPUT_NAME "${name}.js")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user