mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 02:39:48 -06:00
Tests: Skip per file PDBs in PDBDirectoryAndName for IntelLLVM
The IntelLLVM C compiler do not yet support PDBs per file with the /Fd option. Disable the parts of PDBDirectoryAndName that tries to generate them so that the test will pass.
This commit is contained in:
committed by
Brad King
parent
a619b32768
commit
ddaf412dd0
@@ -9,8 +9,9 @@ endif()
|
||||
|
||||
# Intel 11.1 does not support /Fd but Intel 14.0 does.
|
||||
# TODO: Did a version in between these add it?
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL Intel AND
|
||||
CMAKE_C_COMPILER_VERSION VERSION_LESS 14.0)
|
||||
if((CMAKE_C_COMPILER_ID STREQUAL Intel AND
|
||||
CMAKE_C_COMPILER_VERSION VERSION_LESS 14.0) OR
|
||||
CMAKE_C_COMPILER_ID STREQUAL "IntelLLVM")
|
||||
set(NO_COMPILE_PDB 1)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user