obs-studio/deps/happy-eyeballs/CMakeLists.txt
PatTheMav aa137f0766 deps: Update CMake target source lists with alphabetic sorting
Also manually updates some CMake script files to make code more
readable.
2023-12-19 17:59:44 -05:00

16 lines
454 B
CMake

cmake_minimum_required(VERSION 3.22...3.25)
add_library(happy-eyeballs OBJECT)
add_library(OBS::happy-eyeballs ALIAS happy-eyeballs)
target_sources(
happy-eyeballs
PRIVATE happy-eyeballs.c
PUBLIC happy-eyeballs.h)
target_include_directories(happy-eyeballs PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
target_link_libraries(happy-eyeballs PUBLIC OBS::libobs)
set_target_properties(happy-eyeballs PROPERTIES FOLDER deps POSITION_INDEPENDENT_CODE TRUE)