Descent3/networking/CMakeLists.txt
2024-06-29 18:21:38 +02:00

20 lines
283 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}
)