diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2012-11-15 13:49:27 +0200 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2012-11-15 13:50:36 +0200 |
commit | 9b846744151a4d628d76cbf2cb5c0b385bc9300d (patch) | |
tree | e1f5f9d7b9b1f6725b4ec4a2c5429cf0bb8405ba /cmake | |
parent | 2d960553360774771f3a8da7a118a841fc92a513 (diff) |
Explicitly pass the emscripten compiler file suffixes to cmake on Windows to fix cmake em++ invocation on Windows Vista.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Platform/Emscripten.cmake | 8 |
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) |