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

Remove CMake config installation folder only when empty #2622

Merged

Conversation

claudiofantacci
Copy link
Contributor

@claudiofantacci claudiofantacci commented Nov 15, 2018

With this PR we change, and fix under Windows, the behavior of the uninstall target when uninstalling the installed CMake configuration file folder.

The first commit, d05e0ed, is the proposed solution to the problem.
The second and last commit, e73d7d1, unifies the CMake style in cmake/uninstall_target.cmake.in.
We can drop the second commit if you feel it should not be applied.

Fixes #2615 (see a detailed discussion there).

@UnaNancyOwen
Copy link
Member

I will test and report this change today.

@UnaNancyOwen
Copy link
Member

It seems to work properly on Windows. Are other platforms okay?

@SergioRAgostinho SergioRAgostinho merged commit b8b1f55 into PointCloudLibrary:master Nov 17, 2018
@SergioRAgostinho
Copy link
Member

The changes you did are OK in OS X.

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

Successfully merging this pull request may close these issues.

Uninstall target removes all CMake config files and installation folder
4 participants