Skip to content

Commit

Permalink
oneTBB: CI- example fgbzip2 linkage fail (icx, Win32) (#1166)
Browse files Browse the repository at this point in the history
* Update CMakeLists.txt: Added FORCE:multiple for intelLLVM
  • Loading branch information
JhaShweta1 authored Aug 9, 2023
1 parent 32d5ec1 commit 691dd26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/graph/fgbzip2/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2020-2021 Intel Corporation
# Copyright (c) 2020-2023 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -38,7 +38,7 @@ if (MSVC AND CMAKE_CXX_COMPILER_ID STREQUAL IntelLLVM)
target_compile_options(fgbzip2 PRIVATE -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE)
endif()

if (MSVC AND CMAKE_CXX_COMPILER_ID STREQUAL Intel)
if (MSVC AND (CMAKE_CXX_COMPILER_ID STREQUAL Intel OR CMAKE_CXX_COMPILER_ID STREQUAL IntelLLVM))
if (COMMAND target_link_options)
target_link_options(fgbzip2 PRIVATE /FORCE:MULTIPLE /INCREMENTAL:NO)
else()
Expand Down

0 comments on commit 691dd26

Please sign in to comment.