You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Replace the set() of "/MT" to REPLACE "/MD" "/MT" inspired from Zlib
licensed glfw https://github.com/glfw/glfw/blob/master/CMakeLists.txt
- Don't set SQLITECPP_USE_STATIC_RUNTIME by default when building with
unit tests. Use gtest_force_shared_crt to force googletest to link
against the default dynamic C++ runtime
Relates to #417
Setting
SQLITECPP_USE_STATIC_RUNTIME
to ON, the generated MSVC project files still use /MD flag.To solve this,
CMAKE_MSVC_RUNTIME_LIBRARY
should be set.Here is how glfw solves this:
The text was updated successfully, but these errors were encountered: