We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f120db commit 006ab3bCopy full SHA for 006ab3b
1 file changed
library/CMakeLists.txt
@@ -68,7 +68,7 @@ if(ENABLE_BACKTRACE)
68
#HACK - this assumes the library path is already searched?
69
else()
70
find_path(UNWIND_INCLUDE_DIR libunwind.h HINTS ${PC_UNWIND_INCLUDEDIR})
71
- target_link_libraries(OpenApoc_Library PUBLIC ${PC_UNWIND_LIBRARIES} dl)
+ target_link_libraries(OpenApoc_Library PUBLIC ${PC_UNWIND_LIBRARIES} ${CMAKE_DL_LIBS})
72
endif()
73
target_compile_definitions(OpenApoc_Library PUBLIC -DBACKTRACE_LIBUNWIND)
74
target_include_directories(OpenApoc_Library PUBLIC ${UNWIND_INCLUDE_DIR})
0 commit comments