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

A couple of cmake cleanups. NFC. #10934

Merged
merged 1 commit into from
Apr 16, 2020
Merged

A couple of cmake cleanups. NFC. #10934

merged 1 commit into from
Apr 16, 2020

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Apr 15, 2020

These are the NFC parts #10909.

These are the NFC parts #10909.
# Specify the program to use when building static libraries. Force
# Emscripten-related command line options to clang.
set(CMAKE_C_CREATE_STATIC_LIBRARY "<CMAKE_AR> rc <TARGET> <LINK_FLAGS> <OBJECTS>")
set(CMAKE_CXX_CREATE_STATIC_LIBRARY "<CMAKE_AR> rc <TARGET> <LINK_FLAGS> <OBJECTS>")
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Removed these two lines since this the basically the default for cmake anyway. The key is to use our version of AR which setting the CMAKE_AR is enough to do.

@sbc100 sbc100 requested a review from kripken April 16, 2020 00:11
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