hedgewars/avwrapper/CMakeLists.txt
author Wuzzy <almikes@aol.com>
Thu, 24 Nov 2016 16:52:13 +0100
changeset 12073 e2be2e6cf544
parent 11384 7bc9042549c1
child 12129 ffc7bb9fde01
permissions -rw-r--r--
WxW: Increase wall height of left/right walls with bounce edge and no border
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9959
1a42d36f346a use mainstream project name
koda
parents: 9224
diff changeset
     1
#libraries have already been searched in main CMakeLists.txt
8811
dcdfcddf37ee move avwraper compilation in its own folder
koda
parents:
diff changeset
     2
9959
1a42d36f346a use mainstream project name
koda
parents: 9224
diff changeset
     3
include_directories(${LIBAV_INCLUDE_DIR})
8811
dcdfcddf37ee move avwraper compilation in its own folder
koda
parents:
diff changeset
     4
9224
bce8cf41d666 merge cmake_pascal branch in default
koda
parents: 8811
diff changeset
     5
add_library(avwrapper avwrapper.c)
bce8cf41d666 merge cmake_pascal branch in default
koda
parents: 8811
diff changeset
     6
#TODO: find good VERSION and SOVERSION values
9959
1a42d36f346a use mainstream project name
koda
parents: 9224
diff changeset
     7
target_link_libraries(avwrapper ${LIBAV_LIBRARIES})
9224
bce8cf41d666 merge cmake_pascal branch in default
koda
parents: 8811
diff changeset
     8
install(TARGETS avwrapper RUNTIME DESTINATION ${target_binary_install_dir}
bce8cf41d666 merge cmake_pascal branch in default
koda
parents: 8811
diff changeset
     9
                          LIBRARY DESTINATION ${target_library_install_dir}
bce8cf41d666 merge cmake_pascal branch in default
koda
parents: 8811
diff changeset
    10
                          ARCHIVE DESTINATION ${target_library_install_dir})
8811
dcdfcddf37ee move avwraper compilation in its own folder
koda
parents:
diff changeset
    11