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 minor correction in case of COOLPROP_OBJECT_LIBRARY=ON #2011

Merged
merged 1 commit into from Mar 26, 2021

Conversation

dongkeun-oh
Copy link
Contributor

@dongkeun-oh dongkeun-oh commented Mar 24, 2021

Description of the Change

A minor correction of CMakeList.txt is done to suppress the configuration error in case of COOLPROP_OBJECT_LIBRARY=ON, which is a switch to build the objects, usually, required to build the ExternalMedia library in OpenModelica; what is done is just skipping the trouble spot of target_link_libraries for dl library in such a case.

Benefits

Solving the configuration error during the build-process of libExternalMedia.a for the ExternalMedia package.

Possible Drawbacks

N/A

Verification Process

All the options of COOLPROP_OBJECT_LIBRARY, COOLPROP_SHARED_LIBRARY, and COOLPROP_STATIC_LIBRARY are checked in independent manner. After then, the make-process of the ExternalMedia library is also tested chaining the cmake project with COOLPROP_OBJECT_LIBRARY=ON.

Applicable Issues

Closes #2010 if this PR closes an open issue.

@CLAassistant
Copy link

CLAassistant commented Mar 24, 2021

CLA assistant check
All committers have signed the CLA.

@ibell ibell merged commit f7c5451 into CoolProp:master Mar 26, 2021
@dongkeun-oh dongkeun-oh deleted the dko_test branch March 26, 2021 02:46
zmeri pushed a commit to zmeri/CoolProp that referenced this pull request Aug 26, 2022
@jowr jowr added this to the v6.4.2 milestone Dec 7, 2022
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.

cannot build the object library (COOLPROP_OBJECT_LIBRARY)
4 participants