Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 096d402

Browse filesBrowse files
committed
Cached CMake package files also need version update
1 parent 684ba7a commit 096d402
Copy full SHA for 096d402

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎build/cmake_package_files/CppUTestConfigVersion.cmake

Copy file name to clipboardExpand all lines: build/cmake_package_files/CppUTestConfigVersion.cmake
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version,
88
# but only if the requested major version is the same as the current one.
99
# The variable CVF_VERSION must be set before calling configure_file().
10-
set(PACKAGE_VERSION "3.8")
10+
set(PACKAGE_VERSION "4.0")
1111
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
1212
set(PACKAGE_VERSION_COMPATIBLE FALSE)
1313
else()
14-
if("3.8" MATCHES "^([0-9]+)\\.")
14+
if("4.0" MATCHES "^([0-9]+)\\.")
1515
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
1616
else()
17-
set(CVF_VERSION_MAJOR "3.8")
17+
set(CVF_VERSION_MAJOR "4.0")
1818
endif()
1919
if(PACKAGE_FIND_VERSION_MAJOR STREQUAL CVF_VERSION_MAJOR)
2020
set(PACKAGE_VERSION_COMPATIBLE TRUE)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.