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

Update CMakeLists.txt #193

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rishabhbhutani013
Copy link

No description provided.

@DavidJourdan
Copy link
Contributor

Hi, I think a bit of context would help the devs who maintain this library :)

I assume this is meant to fix the same bug that I encountered: on Windows the symlink creation fails with an error like so:

file Failed to create link
'C:/.../build/deps/include/nanoflann/nanoflann.hpp'
because existing path cannot be removed: No error

Your solution to make a copy instead could work, but I think you forgot the DESTINATION word, should be something like that:

file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/nanoflann/include/nanoflann.hpp
     DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/include/nanoflann/nanoflann.hpp)

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

Successfully merging this pull request may close these issues.

2 participants