vcpkg/ports/live555/CMakeLists.txt
Marcus Asteborg 7ed58da3ae [Live555] Add missing symbols due to missing C files and copy paste bug (#4002)
* Add missing symbols due to missing C files and copy paste bug

* [live555] Bump control version to include package change
2018-08-03 00:17:36 -07:00

28 lines
845 B
CMake

cmake_minimum_required(VERSION 3.5)
project(live555 C CXX)
include_directories(
BasicUsageEnvironment/include
groupsock/include
liveMedia/include
UsageEnvironment/include
)
file(GLOB BASIC_USAGE_ENVIRONMENT_SRCS BasicUsageEnvironment/*.c BasicUsageEnvironment/*.cpp)
add_library(BasicUsageEnvironment ${BASIC_USAGE_ENVIRONMENT_SRCS})
file(GLOB GROUPSOCK_SRCS groupsock/*.c groupsock/*.cpp)
add_library(groupsock ${GROUPSOCK_SRCS})
file(GLOB LIVEMEDIA_SRCS liveMedia/*.c liveMedia/*.cpp)
add_library(liveMedia ${LIVEMEDIA_SRCS})
file(GLOB USAGE_ENVIRONMENT_SRCS UsageEnvironment/*.c UsageEnvironment/*.cpp)
add_library(UsageEnvironment ${USAGE_ENVIRONMENT_SRCS})
install(TARGETS groupsock BasicUsageEnvironment liveMedia UsageEnvironment
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)