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

request: concerning building and installing brunsli with google-test (gtest) #146

Open
Corin-EU opened this issue Aug 29, 2024 · 0 comments

Comments

@Corin-EU
Copy link

This behavior is with brunsli latest source code r.cbbc39a

The CMake procedure should do a test to see if google-test is already installed on the system and is at least the minimum version required and use that instead of the source in contrib/gtest.

At the very least (if the above is too onerous) there should be a CMake flag ENABLE_SYSTEM_GTEST to allow the system installed version to be used instead of the version contained in contrib/gtest.

And most importantly, the install procedure should not attempt to install the google-test component if the google-test is already installed on the system otherwise the following will occur for those who manage "local" installed software with stow

/usr/local/bin/stow -d "/usr/local/stow/Graphics/Libraries" -t "/usr/local" "brunsli-r.cbbc39a"
WARNING! stowing brunsli-r.cbbc39a would cause conflicts:
* existing target is stowed to a different package: include/gtest/gtest-death-test.h =>
../../stow/Development/Libraries/googletest-1.15.2/include/gtest/gtest-death-test.h
... [etc, etc, etc for all the other googletest files] ...

Thank you!

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