diff options
author | William R. Dieter <william.r.dieter@intel.com> | 2021-01-15 22:02:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-01-28 14:07:01 (GMT) |
commit | 7de61526a01305b058dad99a11b81e2d3fe18ed6 (patch) | |
tree | 9d5eef4a0d995f9b18c03342c24a6238f5474778 /Tests/RunCMake/CPack | |
parent | ae9f986da1d493f243c0c4bca7dab8dcee6a2861 (diff) | |
download | CMake-7de61526a01305b058dad99a11b81e2d3fe18ed6.zip CMake-7de61526a01305b058dad99a11b81e2d3fe18ed6.tar.gz CMake-7de61526a01305b058dad99a11b81e2d3fe18ed6.tar.bz2 |
Tests: Update CPack DEBUGINFO tests for IntelLLVM
By default icx and icpx do not add build IDs when linking, so enable
the build ID to make the test pass.
Signed-off-by: William R. Dieter <william.r.dieter@intel.com>
Diffstat (limited to 'Tests/RunCMake/CPack')
-rw-r--r-- | Tests/RunCMake/CPack/tests/DEBUGINFO/test.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CPack/tests/DEBUGINFO/test.cmake b/Tests/RunCMake/CPack/tests/DEBUGINFO/test.cmake index 04b44f6..9ff1f8a 100644 --- a/Tests/RunCMake/CPack/tests/DEBUGINFO/test.cmake +++ b/Tests/RunCMake/CPack/tests/DEBUGINFO/test.cmake @@ -1,7 +1,7 @@ set(CMAKE_BUILD_WITH_INSTALL_RPATH 1) # Some compilers do not add build id to binaries by default. -if(CMAKE_CXX_COMPILER_ID MATCHES "^(PGI|NVHPC)$") +if(CMAKE_CXX_COMPILER_ID MATCHES "^(IntelLLVM|PGI|NVHPC)$") string(APPEND CMAKE_EXE_LINKER_FLAGS "-Wl,--build-id") string(APPEND CMAKE_SHARED_LINKER_FLAGS "-Wl,--build-id") endif() |