Skip to content

CMake: Enable static library linking - #182

Open
Growl1234 wants to merge 2 commits into
ddsolvation:mainfrom
Growl1234:cmake
Open

CMake: Enable static library linking#182
Growl1234 wants to merge 2 commits into
ddsolvation:mainfrom
Growl1234:cmake

Conversation

@Growl1234

Copy link
Copy Markdown
  • Drop hard-coded SHARED from add_library(ddx) so BUILD_SHARED_LIBS=ON/OFF will be valid.
  • Enable position-independent code for the ddx target.
  • Drop ${BLAS_LIBRARIES} target linking, as ${LAPACK_LIBRARIES} already contains BLAS libraries, and current duplication will make statical linking against math library fail.

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.

1 participant