mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 04:13:01 +00:00
[CMAKE] Disable PCH when the host system is Apple OS X.
svn path=/trunk/; revision=66700
This commit is contained in:
parent
5d175f22e0
commit
470a162a83
1 changed files with 1 additions and 1 deletions
|
@ -368,7 +368,7 @@ endmacro()
|
||||||
set(PSEH_LIB "pseh")
|
set(PSEH_LIB "pseh")
|
||||||
|
|
||||||
# Macros
|
# Macros
|
||||||
if(PCH AND (NOT ENABLE_CCACHE))
|
if(PCH AND (NOT ENABLE_CCACHE) AND (NOT CMAKE_HOST_APPLE))
|
||||||
add_compile_flags("-Winvalid-pch -Werror=invalid-pch")
|
add_compile_flags("-Winvalid-pch -Werror=invalid-pch")
|
||||||
macro(add_pch _target _pch _sources)
|
macro(add_pch _target _pch _sources)
|
||||||
# When including x.h GCC looks for x.h.gch first
|
# When including x.h GCC looks for x.h.gch first
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue