Skip to content
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's FindGTest.cmake defines GTEST_INCLUDE_DIRS not GTEST_INCLUDE_DIR, build fails with system gtest #388

Open
landryb opened this issue Nov 19, 2021 · 0 comments

Comments

@landryb
Copy link
Contributor

landryb commented Nov 19, 2021

packaging mdal on OpenBSD, building against systemwide GTest 1.8.1, i found out that FindGTest.cmake shipped by cmake 3.20.3 defines GTEST_INCLUDE_DIRS (cf https://github.com/Kitware/CMake/blob/master/Modules/FindGTest.cmake#L43) while mdal's tests/CMakeFiles.txt in https://github.com/lutraconsulting/MDAL/blob/master/tests/CMakeLists.txt#L33 uses GTEST_INCLUDE_DIR which is undefined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant