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: Use built-in DL Lib variable #1250

Merged
merged 2 commits into from
May 14, 2021

Conversation

drewrisinger
Copy link
Contributor

Summary

Uses the built-in CMake variable CMAKE_DL_LIBS, see https://cmake.org/cmake/help/latest/variable/CMAKE_DL_LIBS.html.
No new tests should be needed, I assume the Windows tests will test this.

Details and comments

Creating this PR to test against Windows CI, don't have a dev environment to test this change.

Uses native CMake variable, instead of custom search mechanism.
https://cmake.org/cmake/help/latest/variable/CMAKE_DL_LIBS.html
@mtreinish mtreinish merged commit df38186 into Qiskit:main May 14, 2021
@drewrisinger drewrisinger deleted the dr-pr-fix-cmake-dl-libs branch May 14, 2021 13:49
hitomitak pushed a commit to hitomitak/qiskit-aer that referenced this pull request Jun 24, 2021
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.

4 participants