author | sheepluva |
Mon, 03 Feb 2014 14:06:11 +0100 | |
changeset 10099 | 67b7bc539639 |
parent 9959 | 1a42d36f346a |
child 11384 | 7bc9042549c1 |
permissions | -rw-r--r-- |
9959 | 1 |
#libraries have already been searched in main CMakeLists.txt |
8811 | 2 |
|
3 |
# TODO: this check is only for SDL < 2 |
|
4 |
# fpc will take care of linking but we need to have this library installed |
|
5 |
find_package(GLUT REQUIRED) |
|
6 |
||
9959 | 7 |
include_directories(${LIBAV_INCLUDE_DIR}) |
8811 | 8 |
|
9224 | 9 |
add_library(avwrapper avwrapper.c) |
10 |
#TODO: find good VERSION and SOVERSION values |
|
9959 | 11 |
target_link_libraries(avwrapper ${LIBAV_LIBRARIES}) |
9224 | 12 |
install(TARGETS avwrapper RUNTIME DESTINATION ${target_binary_install_dir} |
13 |
LIBRARY DESTINATION ${target_library_install_dir} |
|
14 |
ARCHIVE DESTINATION ${target_library_install_dir}) |
|
8811 | 15 |