--- CMakeLists.txt.orig 2024-10-16 10:58:58 UTC +++ CMakeLists.txt @@ -125,9 +125,10 @@ endif() unset(CLANG_TIDY_EXE) endif() +add_definitions("-DGLOG_USE_GLOG_EXPORT") + if(IS_MSVC) # Some fixes for the Glog library. - add_definitions("-DGLOG_USE_GLOG_EXPORT") add_definitions("-DGLOG_NO_ABBREVIATED_SEVERITIES") add_definitions("-DGL_GLEXT_PROTOTYPES") add_definitions("-DNOMINMAX")