Skip to content

Commit 33ed0be

Browse files
authored
Added Emscripten to list of supported systems in CMakeLists.txt (#310)
1 parent e4cadd0 commit 33ed0be

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
@@ -108,7 +108,7 @@ IF(NOT CMAKE_SYSTEM_NAME)
108108
"Target operating system is not specified. "
109109
"cpuinfo will compile, but cpuinfo_initialize() will always fail.")
110110
SET(CPUINFO_SUPPORTED_PLATFORM FALSE)
111-
ELSEIF(NOT CMAKE_SYSTEM_NAME MATCHES "^(Windows|WindowsStore|CYGWIN|MSYS|Darwin|Linux|Android|FreeBSD)$")
111+
ELSEIF(NOT CMAKE_SYSTEM_NAME MATCHES "^(Windows|WindowsStore|CYGWIN|MSYS|Darwin|Linux|Android|FreeBSD|Emscripten)$")
112112
IF(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.14" AND NOT IS_APPLE_OS)
113113
MESSAGE(WARNING
114114
"Target operating system \"${CMAKE_SYSTEM_NAME}\" is not supported in cpuinfo. "

0 commit comments

Comments
 (0)