diff options
Diffstat (limited to 'googletest/docs/Pkgconfig.md')
-rw-r--r-- | googletest/docs/Pkgconfig.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/googletest/docs/Pkgconfig.md b/googletest/docs/Pkgconfig.md index 9761289..8b4acda 100644 --- a/googletest/docs/Pkgconfig.md +++ b/googletest/docs/Pkgconfig.md @@ -19,7 +19,7 @@ all examples here we assume you want to compile the sample Using `pkg-config` in CMake is fairly easy: -``` +``` cmake cmake_minimum_required(VERSION 3.0) cmake_policy(SET CMP0048 NEW) @@ -102,7 +102,7 @@ test('first_and_only_test', testapp) Since `pkg-config` is a small Unix command-line utility, it can be used in handwritten `Makefile`s too: -``` +``` Makefile GTEST_CFLAGS = `pkg-config --cflags gtest_main` GTEST_LIBS = `pkg-config --libs gtest_main` |