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

Version 4.0.0 installs the empty directories include/chrono_thirdparty/googlebenchmark and include/chrono_thirdparty/googletest #142

Open
yurivict opened this issue Feb 23, 2019 · 1 comment

Comments

@yurivict
Copy link
Contributor

No description provided.

@rserban
Copy link
Member

rserban commented Feb 27, 2019

This is an issue with CMake's install: when used to install a directory structure with files following a certain pattern (in this case headers, i.e., *.h, *.cuh, and *.hpp) it will duplicate the entire directory hierarchy, including creating empty sub-directories (if none of their files match the pattern).

  • If you have updated the Google benchmark and test submodules, when installing you will get their respective headers in the right sub-directories (but you also get several empty sub-directories).
  • If you did not update submodules, you will not have the Google benchmark and test code in your source tree to begin with (just two empty directories under src/chrono_thirdparty). You will be able to configure and build Chrono (albeit the unit tests and benchmark tests will be disabled), but on install CMake will generate those two empty directories.

I don't know of a workaround for this CMake issue without ugly hacks.

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