mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 20:23:34 +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
1 changed files with 5 additions and 0 deletions
|
@ -31,6 +31,11 @@ if(CMAKE_USE_WDK_ENV)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Force C/C++ Compilers
|
||||||
|
include(CMakeForceCompiler)
|
||||||
|
CMAKE_FORCE_C_COMPILER(cl MSVC)
|
||||||
|
CMAKE_FORCE_CXX_COMPILER(cl MSVC)
|
||||||
|
|
||||||
# Add library directories
|
# Add library directories
|
||||||
STRING(REPLACE * ${ARCH} ATL_LIB_PATH $ENV{ATL_LIB_PATH})
|
STRING(REPLACE * ${ARCH} ATL_LIB_PATH $ENV{ATL_LIB_PATH})
|
||||||
STRING(REPLACE * ${ARCH} CRT_LIB_PATH $ENV{CRT_LIB_PATH})
|
STRING(REPLACE * ${ARCH} CRT_LIB_PATH $ENV{CRT_LIB_PATH})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue