Skip to content

Commit a885d4b

Browse files
CMake: Fix accidental variable expansion of WASI (#45)
1 parent ffed0b1 commit a885d4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL Windows)
5757
$<$<COMPILE_LANGUAGE:C,CXX>:U_TIMEZONE=_timezone>
5858
$<$<COMPILE_LANGUAGE:C,CXX>:_CRT_SECURE_NO_DEPRECATE>
5959
$<$<COMPILE_LANGUAGE:C,CXX>:U_PLATFORM_USES_ONLY_WIN32_API>)
60-
elseif(CMAKE_SYSTEM_NAME STREQUAL WASI)
60+
elseif(CMAKE_SYSTEM_NAME STREQUAL "WASI")
6161
# WASI specific settings
6262
add_compile_definitions(
6363
$<$<COMPILE_LANGUAGE:C,CXX>:U_HAVE_TZSET=0>

0 commit comments

Comments
 (0)