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

Shared lib option #7

Closed
strasdat opened this issue Jul 9, 2012 · 1 comment
Closed

Shared lib option #7

strasdat opened this issue Jul 9, 2012 · 1 comment

Comments

@strasdat
Copy link
Collaborator

strasdat commented Jul 9, 2012

Hey Steve,

Could you change "SET(BUILD_SHARED_LIBS OFF)" to "OPTION(BUILD_SHARED_LIBS OFF)" in CMakeLists.txt, so one can use "cmake .. -DBUILD_SHARED_LIBS=ON" to enable shared libraries?

Cheers,
Hauke

@strasdat
Copy link
Collaborator Author

strasdat commented Jul 9, 2012

Or "SET(BUILD_SHARED_LIBS OFF CACHE BOOL "build shared libs")". (CMakes "SET" and "OPTION" is confusing me a bit...)

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

No branches or pull requests

1 participant