Descent3/networking/CMakeLists.txt
2024-09-10 03:00:26 +03:00

21 lines
296 B
CMake

set(HEADERS)
set(CPPS
networking.cpp
$<$<PLATFORM_ID:Windows>:
directplay.cpp
>
)
if(WIN32)
set(PLATFORM_LIBS ${DXGUID_LIBRARY})
endif()
add_library(networking STATIC ${HEADERS} ${CPPS})
target_link_libraries(networking PRIVATE
ddio
mem
misc
${PLATFORM_LIBS}
plog::plog
)