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

CMake: Set "ARCHIVE DESTINATION" in install section #803

Merged
merged 2 commits into from
Oct 12, 2020
Merged

CMake: Set "ARCHIVE DESTINATION" in install section #803

merged 2 commits into from
Oct 12, 2020

Conversation

itsmattkc
Copy link
Contributor

@itsmattkc itsmattkc commented Sep 23, 2020

Link the Issue(s) this Pull Request is related to.

N/A

Summarize your change.

While ARCHIVE DESTINATION is usually used to define the destination of static library files, it also appears to be used for Windows/MSVC *.lib files in general. When it isn't defined, the *.lib files never get installed (only the DLLs do) and MSVC fails to link OTIO.

Change is pretty minor, simply adds an extra line in the install section of opentimelineio and opentime to ensure Windows libs (and I guess static libs if there ever were any) get installed to the lib folder.

ARCHIVE DESTINATION is described further here: https://cmake.org/cmake/help/v3.18/command/install.html

Reference associated tests.

No errors or issues appear to arise from this PR.

Copy link
Collaborator

@meshula meshula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense to me.

@ssteinbach ssteinbach merged commit 3ad9846 into AcademySoftwareFoundation:master Oct 12, 2020
@ssteinbach ssteinbach added this to the Public Beta 14 milestone Oct 13, 2020
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

3 participants