multimedia/device/CMakeLists.txt

13 lines
283 B
CMake

cmake_minimum_required(VERSION 3.14)
project(librtsp_c C)
set(CMAKE_C_STANDARD 99)
find_library(WS2_32_LIBRARY ws2_32)
add_executable(librtsp_c main.c thirdparty/map/src/map.c
librtsp.c sock.c
thirdparty/base64_simple/base64.c
)
target_link_libraries(librtsp_c ${WS2_32_LIBRARY})