mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
56 lines
1.3 KiB
CMake
56 lines
1.3 KiB
CMake
set(CMAKE_C_FLAGS "-std=gnu11")
|
|
|
|
########### next target ###############
|
|
find_package(PkgConfig)
|
|
pkg_check_modules (SYSTEMD REQUIRED systemd>=213)
|
|
set(miracle-shared_SRCS rtsp.h
|
|
rtsp.c
|
|
shl_dlist.h
|
|
shl_htable.h
|
|
shl_htable.c
|
|
shl_log.h
|
|
shl_log.c
|
|
shl_macro.h
|
|
shl_ring.h
|
|
shl_ring.c
|
|
shl_util.h
|
|
shl_util.c
|
|
util.h
|
|
wpas.h
|
|
wpas.c)
|
|
include_directories(/usr/include)
|
|
link_directories(/usr/lib)
|
|
add_library(miracle-shared STATIC ${miracle-shared_SRCS})
|
|
target_link_libraries (miracle-shared systemd)
|
|
|
|
|
|
########### install files ###############
|
|
|
|
|
|
|
|
|
|
#original Makefile.am contents follow:
|
|
|
|
#include $(top_srcdir)/common.am
|
|
#noinst_LTLIBRARIES = libmiracle-shared.la
|
|
#
|
|
#libmiracle_shared_la_SOURCES = \
|
|
# rtsp.h \
|
|
# rtsp.c \
|
|
# shl_dlist.h \
|
|
# shl_htable.h \
|
|
# shl_htable.c \
|
|
# shl_log.h \
|
|
# shl_log.c \
|
|
# shl_macro.h \
|
|
# shl_ring.h \
|
|
# shl_ring.c \
|
|
# shl_util.h \
|
|
# shl_util.c \
|
|
# util.h \
|
|
# wpas.h \
|
|
# wpas.c
|
|
#libmiracle_shared_la_LIBADD = -lsystemd
|
|
#
|
|
#
|
|
#
|