Lines 1-6
Link Here
|
1 |
--- CMakeLists.txt.orig 2019-10-24 07:05:50 UTC |
1 |
--- CMakeLists.txt.orig 2020-02-08 23:21:29 UTC |
2 |
+++ CMakeLists.txt |
2 |
+++ CMakeLists.txt |
3 |
@@ -192,7 +192,7 @@ if(UNIX AND NOT APPLE) |
3 |
@@ -192,8 +192,14 @@ if(UNIX AND NOT APPLE) |
4 |
INTERFACE_INCLUDE_DIRECTORIES ${ALSA_INCLUDE_DIR} |
4 |
INTERFACE_INCLUDE_DIRECTORIES ${ALSA_INCLUDE_DIR} |
5 |
INTERFACE_LINK_LIBRARIES ${ALSA_LIBRARIES}) |
5 |
INTERFACE_LINK_LIBRARIES ${ALSA_LIBRARIES}) |
6 |
endif() |
6 |
endif() |
Lines 7-11
Link Here
|
7 |
- target_compile_definitions(openshot-audio PUBLIC LINUX) |
7 |
- target_compile_definitions(openshot-audio PUBLIC LINUX) |
8 |
+ #target_compile_definitions(openshot-audio PUBLIC LINUX) |
8 |
+ #target_compile_definitions(openshot-audio PUBLIC LINUX) |
9 |
target_link_libraries(openshot-audio PUBLIC ALSA::ALSA) |
9 |
target_link_libraries(openshot-audio PUBLIC ALSA::ALSA) |
|
|
10 |
+ |
11 |
+ find_library(EXECINFO_LIBRARY NAMES execinfo) |
12 |
+ if(NOT EXECINFO_LIBRARY) |
13 |
+ message(FATAL_ERROR "${EXECINFO_LIBRARY}") |
14 |
+ endif(NOT EXECINFO_LIBRARY) |
15 |
+ target_link_libraries(openshot-audio PUBLIC ${EXECINFO_LIBRARY}) |
10 |
endif() |
16 |
endif() |
11 |
|
17 |
|
|
|
18 |
# ZLIB -- uses IMPORTED target ZLIB::ZLIB which has existed since CMake 3.1 |