mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[CMAKE]
- Use cache to decide whether we use precompiled headers or not. svn path=/trunk/; revision=63799
This commit is contained in:
parent
7a985425b0
commit
cbb6d64036
1 changed files with 3 additions and 3 deletions
|
@ -137,10 +137,10 @@ else()
|
|||
add_definitions(-D_WINKD_=1)
|
||||
endif()
|
||||
|
||||
if((NOT DEFINED PCH) AND (CMAKE_VERSION STREQUAL "2.8.12.1-ReactOS") AND (NOT CMAKE_C_COMPILER_ID STREQUAL "Clang"))
|
||||
set(PCH 1)
|
||||
if((CMAKE_VERSION STREQUAL "2.8.12.1-ReactOS") AND (NOT CMAKE_C_COMPILER_ID STREQUAL "Clang"))
|
||||
set(PCH 1 CACHE BOOL "Whether to use precompiled headers")
|
||||
else()
|
||||
set(PCH 0)
|
||||
set(PCH 0 CACHE BOOL "Whether to use precompiled headers")
|
||||
endif()
|
||||
|
||||
# Version Options
|
||||
|
|
Loading…
Reference in a new issue