diff options
author | Brad King <brad.king@kitware.com> | 2021-01-22 20:57:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-01-28 14:07:01 (GMT) |
commit | a619b327686718e10bdecdf2a5d677bfcd4789b5 (patch) | |
tree | 9986f76217168d736c0252a85b6f7058a6c49b4a /Tests/RunCMake/GenerateExportHeader | |
parent | 661b04d6a66f0189c57c306cb57c8ba1863feff4 (diff) | |
download | CMake-a619b327686718e10bdecdf2a5d677bfcd4789b5.zip CMake-a619b327686718e10bdecdf2a5d677bfcd4789b5.tar.gz CMake-a619b327686718e10bdecdf2a5d677bfcd4789b5.tar.bz2 |
Tests: Update RunCMake.GenerateExportHeader for IntelLLVM
On Windows, the expected results are like Clang's.
Diffstat (limited to 'Tests/RunCMake/GenerateExportHeader')
-rw-r--r-- | Tests/RunCMake/GenerateExportHeader/GEH.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/GenerateExportHeader/GEH.cmake b/Tests/RunCMake/GenerateExportHeader/GEH.cmake index ae9a84c..431d1ce 100644 --- a/Tests/RunCMake/GenerateExportHeader/GEH.cmake +++ b/Tests/RunCMake/GenerateExportHeader/GEH.cmake @@ -103,7 +103,7 @@ add_executable(GenerateExportHeader exportheader_test.cpp) target_link_libraries(GenerateExportHeader ${link_libraries}) if (WIN32 OR CYGWIN) - if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND + if((CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "IntelLLVM") AND CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC") set(_platform Win32-Clang) elseif(MSVC AND COMPILER_HAS_DEPRECATED) |