Skip to content

Commit 6d8a3d6

Browse files
oleksandr-pavlykDiptorup Deb
authored and
Diptorup Deb
committed
Change to FindLLVMCov.cmake
Use LESS_EQUAL, rather than EQUAL to compare minumum requires and the found versions, to allow use of more recent LLVM-cov
1 parent 8b1a341 commit 6d8a3d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpctl-capi/cmake/modules/FindLLVMCov.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ endif()
4949

5050
# Check if a specific version of llvm-cov is required.
5151
if(LLVMCov_FIND_VERSION AND (DEFINED LLVMCov_VERSION))
52-
string(COMPARE EQUAL
52+
string(COMPARE LESS_EQUAL
5353
${LLVMCov_FIND_VERSION_MAJOR}
5454
${LLVMCov_VERSION_MAJOR}
5555
VERSION_MATCH

0 commit comments

Comments
 (0)