Skip to content
Snippets Groups Projects
Commit d6102ec6 authored by Sreekanth Arikatla's avatar Sreekanth Arikatla
Browse files

BUG: Check DbgHelp library only on windows

parent c5987d2d
No related branches found
No related tags found
No related merge requests found
......@@ -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
#-----------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment