-
Notifications
You must be signed in to change notification settings - Fork 36
Description
Well , base on #68
I add this code in file: cmake/flags.cmake
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
And then
cmake --config Release --build .
It works well.
and this following part works well too.
cmake --config RelWithDebInfo --build .
but, when I want to debug the code, errors come.
cmake --config Debug --build .
And here are the errors message( Same as #68) :
Libtsk.lib (db_sqlite. Obj) : Error LNK2038: "RuntimeLibrary" mismatch detected:Value "MT_StaticRelease" mismatch value "MTd_StaticDebug" (in osquery_extension_group_main.obj) [D:\build\External\extension_trailofbits\ trailofbits_osquery_extensions.vcxProj]
Libcpmt.lib (xstol. Obj) : Error LNK2038: "RuntimeLibrary" mismatch detected:Value "MT_StaticRelease" mismatch value "MTd_StaticDebug" (in osquery_extension_group_main.obj) [D:\build\External\extension_trailofbits\ trailofbits_osquery_extensions.vcxProj]