Skip to content

Commit

Permalink
cmake: intel llvm openmp
Browse files Browse the repository at this point in the history
  • Loading branch information
hczhai committed Nov 13, 2024
1 parent 104ebab commit 41047af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ SET(PTHREAD pthread)
CMAKE_POLICY(SET CMP0054 NEW) # quoted variable for STREQUAL
CMAKE_POLICY(SET CMP0074 NEW) # BLAS_ROOT

IF (CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
IF ((CMAKE_CXX_COMPILER_ID STREQUAL "Intel") OR (CMAKE_CXX_COMPILER_ID STREQUAL "IntelLLVM"))
SET(OMP_FLAG -qopenmp)
ELSEIF (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
SET(OMP_FLAG -openmp)
Expand Down

0 comments on commit 41047af

Please sign in to comment.