-
Notifications
You must be signed in to change notification settings - Fork 440
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
”cmake_minimum_required(VERSION 3.1)“ is inaccurate #1399
Comments
Good point. We should -
|
opentelemetry-cpp/sdk/test/trace/CMakeLists.txt Lines 1 to 30 in 521ebd8
|
This example seems to be using gtest_add_tests at line 21, or am I missing something ? |
I vote for upgrade the minimum version of cmake.It will be easier to maintain. |
To see if we can use the gtest_add_tests() function from cmake module: |
There are few more cmake constructs in code not supported in cmake v3.1.0: opentelemetry-cpp/CMakeLists.txt Line 9 in a847d0c
|
I think |
This issue was marked as stale due to lack of activity. |
There are many places to add tests with ”gtest_add_tests“, But gtest_add_tests is a new feature of Cmake 3.9 version, When I try to compile with 3.8.5, it doesn't compile the test code anyway, this confused me for a while.
The text was updated successfully, but these errors were encountered: