Link to DbgHelp using pre-processor directive
[platform/upstream/glog.git] / CMakeLists.txt
index d353c00..af4680d 100644 (file)
@@ -457,7 +457,7 @@ endif (HAVE_EXECINFO_H)
 
 if (WIN32)
   set (HAVE_STACKTRACE 1)
-  target_link_libraries (glog PUBLIC Dbghelp.lib)
+  set (HAVE_SYMBOLIZE 1)
 endif (WIN32)
 
 if (UNIX OR (APPLE AND HAVE_DLADDR))