mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 08:25:53 +00:00
[CMAKE]
* Force cl as the C/C++ Compiler when we detect the WDK environment. * Buildbot can now have PCH support back. svn path=/trunk/; revision=53084
This commit is contained in:
parent
9385a7847e
commit
b1c97b02d8
|
@ -31,6 +31,11 @@ if(CMAKE_USE_WDK_ENV)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
# Force C/C++ Compilers
|
||||
include(CMakeForceCompiler)
|
||||
CMAKE_FORCE_C_COMPILER(cl MSVC)
|
||||
CMAKE_FORCE_CXX_COMPILER(cl MSVC)
|
||||
|
||||
# Add library directories
|
||||
STRING(REPLACE * ${ARCH} ATL_LIB_PATH $ENV{ATL_LIB_PATH})
|
||||
STRING(REPLACE * ${ARCH} CRT_LIB_PATH $ENV{CRT_LIB_PATH})
|
||||
|
|
Loading…
Reference in a new issue