15 lines
396 B
Diff
15 lines
396 B
Diff
--- a/renderdoc/CMakeLists.txt
|
|
+++ b/renderdoc/CMakeLists.txt
|
|
@@ -54,6 +54,11 @@ elseif(UNIX)
|
|
find_package(PkgConfig REQUIRED)
|
|
find_package(Threads REQUIRED)
|
|
|
|
+ option(NEED_LIBEXECINFO "need libexecinfo" OFF)
|
|
+ if (NEED_LIBEXECINFO)
|
|
+ list(APPEND RDOC_LIBRARIES PRIVATE -lexecinfo)
|
|
+ endif()
|
|
+
|
|
list(APPEND RDOC_LIBRARIES
|
|
PRIVATE -lm
|
|
PRIVATE -ldl
|