diff options
| author | Kai Pastor <dg0yt@darc.de> | 2019-02-14 16:53:05 +0100 |
|---|---|---|
| committer | Kai Pastor <dg0yt@darc.de> | 2019-02-14 16:53:05 +0100 |
| commit | 965f89cc26f76e8ab060219ce3c2c4d5ae9b06ea (patch) | |
| tree | 0a64a156ad9f793b23198ec8bf3fcfe9cc2d66f3 /test/unit/CMakeLists.txt | |
| parent | 8d73f7c31535f5353f034adc9b8e740ab4d98e02 (diff) | |
| download | PROJ-965f89cc26f76e8ab060219ce3c2c4d5ae9b06ea.tar.gz PROJ-965f89cc26f76e8ab060219ce3c2c4d5ae9b06ea.zip | |
Mark the external GTest package as required
GTest provides a configuration file, so we can disable the module
mode. If the GTest package cannot be found, this shall be reported
right here. (Note that while we specify a version, we do not require
an EXACT match.)
Diffstat (limited to 'test/unit/CMakeLists.txt')
| -rw-r--r-- | test/unit/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/CMakeLists.txt b/test/unit/CMakeLists.txt index 1da41695..58638fa4 100644 --- a/test/unit/CMakeLists.txt +++ b/test/unit/CMakeLists.txt @@ -5,7 +5,7 @@ option(USE_EXTERNAL_GTEST "Compile against external GTest" OFF) if (USE_EXTERNAL_GTEST) message(STATUS "Using external GTest") -find_package(GTest 1.8.1) +find_package(GTest 1.8.1 CONFIG REQUIRED) else (USE_EXTERNAL_GTEST) |
