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

Make repository usable as Git submodule #34

Merged
merged 1 commit into from
Apr 25, 2016
Merged

Conversation

firegurafiku
Copy link
Contributor

I tried to attach NetCDF-C++ library to my project using Git submodule feature and CMake's add_subdirectory, but to my surprise, this didn't work. I came to conclusion that it was caused by inconsistent use of CMAKE_CURRENT_{SOURCE|BINARY}_DIR variables. I made some replacements and it started working.

I think I have fixed the issue, but, please, check if my commit is okay.

Get rid of all CMAKE_{SOURCE|BINARY}_DIR usages in CMake scripts, in order
to make it possible to use netcdf-cxx via 'add_subdirectory' (as a Git
submodule, for example).

Signed-off-by: Pavel Kretov <firegurafiku@gmail.com>
@WardF WardF merged commit d8d33a2 into Unidata:master Apr 25, 2016
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.

None yet

2 participants