Skip to content
Snippets Groups Projects
Commit e9cdc526 authored by Martin Gels's avatar Martin Gels
Browse files

bug 1005: Update cmakefile

parent 6e5cad9b
No related branches found
No related tags found
No related merge requests found
...@@ -78,7 +78,8 @@ if (HAVE_EXECINFO_H) ...@@ -78,7 +78,8 @@ if (HAVE_EXECINFO_H)
list (APPEND CMAKE_REQUIRED_LIBRARIES ${HAVE_LIBIBERTY}) list (APPEND CMAKE_REQUIRED_LIBRARIES ${HAVE_LIBIBERTY})
endif (HAVE_LIBIBERTY) endif (HAVE_LIBIBERTY)
find_library (HAVE_LIBZ z SET (Bactrace_LIB_PREFIX "lib")
find_library (HAVE_LIBZ ${Bactrace_LIB_PREFIX}z.a
PATHS ${lib_locations} PATHS ${lib_locations}
NO_DEFAULT_PATH NO_DEFAULT_PATH
) )
...@@ -93,7 +94,7 @@ if (HAVE_EXECINFO_H) ...@@ -93,7 +94,7 @@ if (HAVE_EXECINFO_H)
if (HAVE_LIBBFD) if (HAVE_LIBBFD)
list (APPEND CMAKE_REQUIRED_LIBRARIES ${HAVE_LIBBFD}) list (APPEND CMAKE_REQUIRED_LIBRARIES ${HAVE_LIBBFD})
endif (HAVE_LIBBFD) endif (HAVE_LIBBFD)
if (HAVE_BFD_H) if (HAVE_BFD_H)
## append location of header file ## append location of header file
list (APPEND BACKTRACE_INCLUDES ${HAVE_BFD_H}) list (APPEND BACKTRACE_INCLUDES ${HAVE_BFD_H})
......
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