* Force the C++ compiler in the ARM case.

svn path=/trunk/; revision=63441
This commit is contained in:
Amine Khaldi 2014-05-25 12:29:49 +00:00
parent 118cceaf95
commit aaedf937d2

View file

@ -9,7 +9,14 @@ set(CMAKE_SYSTEM_PROCESSOR i686)
# which compilers to use for C and C++
set(CMAKE_C_COMPILER cl)
if(ARCH STREQUAL "arm")
include(CMakeForceCompiler)
CMAKE_FORCE_CXX_COMPILER(cl MSVC)
else()
set(CMAKE_CXX_COMPILER cl)
endif()
set(CMAKE_MC_COMPILER mc)
set(CMAKE_RC_COMPILER rc)
if(ARCH STREQUAL "amd64")