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

How to BUILD_SHARED_LIBS #531

Open
IOTeule opened this issue Nov 25, 2021 · 0 comments
Open

How to BUILD_SHARED_LIBS #531

IOTeule opened this issue Nov 25, 2021 · 0 comments

Comments

@IOTeule
Copy link

IOTeule commented Nov 25, 2021

What is the correct approach to build with shared libs ?
I changed Dockerfile section to
[...]
RUN cmake /src/Sample-Server/.github/
-DCMAKE_BUILD_TYPE=${BUILD_TYPE}
-DBUILD_SHARED_LIBS:BOOL=ON
-DCMAKE_INSTALL_PREFIX:PATH=/install /build &&
cmake --build .
[...]
But during build CMake says manually BUILD_SHARED_LIBS is not used.

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