From b64bb0880a8d960d9d4c723e3f311e12b899401b Mon Sep 17 00:00:00 2001 From: Dmitrii Mukhutdinov Date: Fri, 17 Nov 2023 17:05:30 +0800 Subject: [PATCH] Fix iomp5 linking with latest Intel OpenAPI on Ubuntu (#1545) --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ce8b3d31f..6c472436e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -263,6 +263,7 @@ if(NOT OPENMP_RUNTIME STREQUAL "NONE") ${INTEL_ROOT}/oneAPI/compiler/latest/windows/compiler/lib/intel64_win ${INTEL_ROOT}/oneapi/compiler/latest/linux/compiler/lib/intel64_lin ${INTEL_ROOT}/oneapi/compiler/latest/mac/compiler/lib + ${INTEL_ROOT}/oneapi/compiler/latest/lib ) if(IOMP5_LIBRARY) list(APPEND LIBRARIES ${IOMP5_LIBRARY})