Author: akhaldi Date: Sun May 25 12:29:49 2014 New Revision: 63441
URL: http://svn.reactos.org/svn/reactos?rev=63441&view=rev Log: [CMAKE] * Force the C++ compiler in the ARM case.
Modified: trunk/reactos/toolchain-msvc.cmake
Modified: trunk/reactos/toolchain-msvc.cmake URL: http://svn.reactos.org/svn/reactos/trunk/reactos/toolchain-msvc.cmake?rev=63... ============================================================================== --- trunk/reactos/toolchain-msvc.cmake [iso-8859-1] (original) +++ trunk/reactos/toolchain-msvc.cmake [iso-8859-1] Sun May 25 12:29:49 2014 @@ -9,7 +9,14 @@
# 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")