Skip to content

Commit 26cceae

Browse files
authored
Set CMake toolchain EMSCRIPTEN cache var type to INTERNAL (#21754)
Fixes #21753
1 parent 57e968f commit 26cceae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/Modules/Platform/Emscripten.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ set(CMAKE_CXX_RESPONSE_FILE_LINK_FLAG "@")
284284

285285
# Set a global EMSCRIPTEN variable that can be used in client CMakeLists.txt to
286286
# detect when building using Emscripten.
287-
set(EMSCRIPTEN 1 CACHE BOOL "If true, we are targeting Emscripten output.")
287+
set(EMSCRIPTEN 1 CACHE INTERNAL "If true, we are targeting Emscripten output.")
288288

289289
# Hardwire support for cmake-2.8/Modules/CMakeBackwardsCompatibilityC.cmake
290290
# without having CMake to try complex things to autodetect these:

0 commit comments

Comments
 (0)