Skip to content

Commit

Permalink
Fix version for find_package search
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-penev committed Sep 24, 2023
1 parent 869e3c1 commit 30bc980
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/CppInterOpConfigVersion.cmake.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
set(PACKAGE_VERSION "0.1.0")
set(PACKAGE_VERSION "1.0.0")

# LLVM is API-compatible only with matching major.minor versions
# and patch versions not less than that requested.
if("0.1" VERSION_EQUAL
if("1.0" VERSION_EQUAL
"${PACKAGE_FIND_VERSION_MAJOR}.${PACKAGE_FIND_VERSION_MINOR}"
AND NOT "0" VERSION_LESS "${PACKAGE_FIND_VERSION_PATCH}")
set(PACKAGE_VERSION_COMPATIBLE 1)
Expand Down

0 comments on commit 30bc980

Please sign in to comment.