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

Multithreaded runtime builds on Windows /MT[d] #49

Open
heindl-solutions opened this issue Jul 29, 2021 · 1 comment
Open

Multithreaded runtime builds on Windows /MT[d] #49

heindl-solutions opened this issue Jul 29, 2021 · 1 comment

Comments

@heindl-solutions
Copy link

for the main project, there is OATPP_MSVC_LINK_STATIC_RUNTIME:BOOL=ON to switch to /MT build on Windows. This is missing for this subproject

I had to workaround using
cmake ... -DCMAKE_POLICY_DEFAULT_CMP0099=NEW -DCMAKE_MSVC_RUNTIME_LIBRARY="MultiThreaded$<$<CONFIG:Debug>:Debug>"

I think OATPP_MSVC_LINK_STATIC_RUNTIME should be added to oatpp-swagger and oatpp-sqlite as well to be consistent.

Thank you very much for the good work!

@heindl-solutions
Copy link
Author

seems to be related to "Commits on Jun 11, 2021" in main project (oatpp):

45996bf7fcdb8c1d363b97699d0cf38a875222e3
47b34ef74c3939faf2b0423464dcce2736a9128c
6940d26f2ee10ab7bfb851a2e961bd702b49e393

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