Commit d6102ec6 authored by Sreekanth Arikatla's avatar Sreekanth Arikatla

BUG: Check DbgHelp library only on windows

parent c5987d2d
......@@ -3,13 +3,12 @@
#-----------------------------------------------------------------------------
if(WIN32)
find_library(DbgHelp_LIBRARY NAMES DbgHelp)
if(NOT DbgHelp_LIBRARY)
message(FATAL_ERROR "DbgHelp library not found")
endif()
endif()
if(NOT DbgHelp_LIBRARY)
message(FATAL_ERROR "DbgHelp library not found")
endif()
#-----------------------------------------------------------------------------
# Find path
#-----------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment