20 lines
534 B
CMake
Raw Normal View History

2019-01-30 20:47:36 +00:00
# Container module needs to go in as a plugins so different prefix
# and install path
set(CMAKE_SHARED_LIBRARY_PREFIX "")
# Make sure the compiler can find the necessary include files
include_directories (../..)
add_library(reader_avi ${LIBRARY_TYPE} avi_reader.c)
target_link_libraries(reader_avi containers)
install(TARGETS reader_avi DESTINATION ${VMCS_PLUGIN_DIR})
add_library(writer_avi ${LIBRARY_TYPE} avi_writer.c)
target_link_libraries(writer_avi containers)
install(TARGETS writer_avi DESTINATION ${VMCS_PLUGIN_DIR})