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