aboutsummaryrefslogtreecommitdiff
path: root/cmake/Platform/Emscripten.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Platform/Emscripten.cmake')
-rw-r--r--cmake/Platform/Emscripten.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmake/Platform/Emscripten.cmake b/cmake/Platform/Emscripten.cmake
index fde45b3e..532e5d99 100644
--- a/cmake/Platform/Emscripten.cmake
+++ b/cmake/Platform/Emscripten.cmake
@@ -24,10 +24,10 @@ endif()
# Specify the compilers to use for C and C++
if ("${CMAKE_C_COMPILER}" STREQUAL "")
- set(CMAKE_C_COMPILER "emcc")
- set(CMAKE_CXX_COMPILER "em++")
- set(CMAKE_AR "emar")
- set(CMAKE_RANLIB "emranlib")
+ set(CMAKE_C_COMPILER "emcc.exe")
+ set(CMAKE_CXX_COMPILER "em++.exe")
+ set(CMAKE_AR "emar.exe")
+ set(CMAKE_RANLIB "emranlib.exe")
endif()
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)