Tests: do not build PrecompiledHeader on Clang/C2
This commit is contained in:
parent
a0f0541f35
commit
ad6d27ac2a
|
@ -1744,7 +1744,9 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=dev -P ${CMake_SOURCE_DIR}/Utilities/Release
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
ADD_TEST_MACRO(ForceInclude foo)
|
ADD_TEST_MACRO(ForceInclude foo)
|
||||||
ADD_TEST_MACRO(PDBDirectoryAndName myexe)
|
ADD_TEST_MACRO(PDBDirectoryAndName myexe)
|
||||||
ADD_TEST_MACRO(PrecompiledHeader foo)
|
if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||||
|
ADD_TEST_MACRO(PrecompiledHeader foo)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
if(MSVC OR
|
if(MSVC OR
|
||||||
"${CMAKE_GENERATOR}" MATCHES "(MSYS|MinGW) Makefiles")
|
"${CMAKE_GENERATOR}" MATCHES "(MSYS|MinGW) Makefiles")
|
||||||
|
|
Loading…
Reference in New Issue