9959
|
1 |
#libraries have already been searched in main CMakeLists.txt
|
8811
|
2 |
|
9959
|
3 |
include_directories(${LIBAV_INCLUDE_DIR})
|
8811
|
4 |
|
9224
|
5 |
add_library(avwrapper avwrapper.c)
|
|
6 |
#TODO: find good VERSION and SOVERSION values
|
9959
|
7 |
target_link_libraries(avwrapper ${LIBAV_LIBRARIES})
|
9224
|
8 |
install(TARGETS avwrapper RUNTIME DESTINATION ${target_binary_install_dir}
|
|
9 |
LIBRARY DESTINATION ${target_library_install_dir}
|
|
10 |
ARCHIVE DESTINATION ${target_library_install_dir})
|
8811
|
11 |
|