Skip to content

Conversation

@johnmarianhoffman
Copy link

I have modified CMakeLists.txt to support the standard CMake build option BUILD_SHARED_LIBS=ON/OFF.

This allows the user to select desired library type via a standard method at configuration time (needed if static linking libmaxflow to a project). There is not currently a convenient way to set this without manually changing line 59 in CMakeLists.txt from SHARED to STATIC.

This change does not affect the default behavior of the package.

@rayryeng
Copy link

Is there a chance this can be merged? I'd rather not have to pull changes from a PR and have the latest changes be reflected on the main branch.

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