mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 14:20:33 -04:00
Documents that require doxygen have been separated into DOXYGEN option. It is off by default. This should fix an issue where no matter what we choose, we could only output audio to the default sink. In particular, it is a fix that has become necessary to make JACK work well. Fixed stage-qa error - link with libpython. PR: 277648
27 lines
1 KiB
Text
27 lines
1 KiB
Text
--- src/CMakeLists.txt.orig 2023-03-27 18:48:43 UTC
|
|
+++ src/CMakeLists.txt
|
|
@@ -516,6 +516,24 @@ See https://github.com/opencv/opencv/issues/19260]])
|
|
endif() # ENABLE_OPENCV
|
|
add_feature_info("OpenCV algorithms" ENABLE_OPENCV "Use OpenCV algorithms")
|
|
|
|
+# EXECINFO
|
|
+include(CheckFunctionExists)
|
|
+include(CheckLibraryExists)
|
|
+check_function_exists(backtrace FUNCTION_BACKTRACE_FOUND)
|
|
+if(NOT FUNCTION_BACKTRACE_FOUND)
|
|
+ find_library(EXECINFO_LIBRARY NAMES execinfo)
|
|
+ if(EXECINFO_LIBRARY)
|
|
+ unset(FUNCTION_BACKTRACE_FOUND CACHE)
|
|
+ check_library_exists(${EXECINFO_LIBRARY} backtrace "" FUNCTION_BACKTRACE_FOUND)
|
|
+ endif(EXECINFO_LIBRARY)
|
|
+endif(NOT FUNCTION_BACKTRACE_FOUND)
|
|
+if(NOT FUNCTION_BACKTRACE_FOUND)
|
|
+ message(FATAL_ERROR "backtrace - ${FUNCTION_BACKTRACE_FOUND}")
|
|
+endif(NOT FUNCTION_BACKTRACE_FOUND)
|
|
+if(EXECINFO_LIBRARY)
|
|
+ target_link_libraries(openshot PRIVATE ${EXECINFO_LIBRARY})
|
|
+endif(EXECINFO_LIBRARY)
|
|
+
|
|
############### LINK LIBRARY #################
|
|
# Link remaining dependency libraries
|
|
if(DEFINED PROFILER)
|