Petr Menšík 7b69999c37
Reuse gtest on system (#1493)
* Reuse gtest on the system

Try to use gtest on the system if found. Avoid using recent CMake
features.

* Set CMP0135 only when using FetchContent

* Add /bigobj option for MSVC

* Support also cmake between 3.14 and 3.20

Older versions provided only GTest::Main target, not currently used
gtest_main. Provide backward compatibility also to old cmake versions.

* Remove redundant variable checking

---------

Co-authored-by: Jiwoo Park <jiwoo_90@naver.com>
2023-03-05 21:35:35 -05:00
..
2021-07-17 13:21:03 -04:00
2022-02-09 17:16:18 -05:00
2021-09-11 14:26:48 -04:00
2021-09-11 14:26:48 -04:00
2021-09-11 14:26:48 -04:00
2023-03-05 21:35:35 -05:00
2017-12-29 22:34:59 -05:00
2022-07-08 17:40:05 -04:00
2023-03-04 18:14:00 -05:00
2013-07-04 18:18:52 -04:00