forked from macports/macports-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gtest(patch): Add gtest version to CMakeLists
- Loading branch information
Showing
2 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- googlemock/CMakeLists.txt.orig 2023-05-19 12:51:24.000000000 +0300 | ||
+++ googlemock/CMakeLists.txt 2023-05-19 12:52:53.512783464 +0300 | ||
@@ -38,6 +38,7 @@ | ||
# Language "C" is required for find_package(Threads). | ||
cmake_minimum_required(VERSION 3.5) | ||
cmake_policy(SET CMP0048 NEW) | ||
+set(GOOGLETEST_VERSION @@GOOGLETEST_VERSION@@) | ||
project(gmock VERSION ${GOOGLETEST_VERSION} LANGUAGES CXX C) | ||
|
||
if (COMMAND set_up_hermetic_build) | ||
--- googletest/CMakeLists.txt.orig 2023-05-19 12:53:24.000000000 +0300 | ||
+++ googletest/CMakeLists.txt 2023-05-19 12:53:32.354596104 +0300 | ||
@@ -48,6 +48,7 @@ | ||
|
||
cmake_minimum_required(VERSION 3.5) | ||
cmake_policy(SET CMP0048 NEW) | ||
+set(GOOGLETEST_VERSION @@GOOGLETEST_VERSION@@) | ||
project(gtest VERSION ${GOOGLETEST_VERSION} LANGUAGES CXX C) | ||
|
||
if (POLICY CMP0063) # Visibility |