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

add a cmake option MSVC_RUNTIME_LIBRARY #190

Open
DuKeM-CSGO opened this issue Sep 13, 2024 · 0 comments
Open

add a cmake option MSVC_RUNTIME_LIBRARY #190

DuKeM-CSGO opened this issue Sep 13, 2024 · 0 comments

Comments

@DuKeM-CSGO
Copy link

CMakelists.txt Line 286:

if(BUILD_SHARED_LIBS)
  set_target_properties(snappy PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON)
endif(BUILD_SHARED_LIBS)

May I ask for an additional option MSVC_RUNTIME_LIBRARY here? When building static libs CMAKE_CXX_FLAGS should includes /MTd, instead of CMake's default value /MDd.

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