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

added support for cmake install #84

Merged
merged 2 commits into from
Sep 16, 2017
Merged

Conversation

dinocore1
Copy link
Contributor

To have cmake install units library to a local 'install' directory:

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX="install" ..
cmake --build . --target install

The units library can then be used in some other cmake project using the
standard
'find_package' command. Like so:

find_package(units)

To have cmake install units library to a local 'install' directory:

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX="install" ..
cmake --build . --target install

The units library can then be used in some other cmake project using the
standard
'find_package' command. Like so:

find_package(units)
@nholthaus
Copy link
Owner

Thank you very much for this! I wouldn't be surprised if it's the favorite new feature of v2.3.

@nholthaus nholthaus self-assigned this Sep 16, 2017
@nholthaus nholthaus added this to the v2.3.0 milestone Sep 16, 2017
@nholthaus nholthaus merged commit a674ebb into nholthaus:master Sep 16, 2017
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.

None yet

2 participants