Descent3/networking/CMakeLists.txt
2024-09-24 23:00:53 +03:00

22 lines
303 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
ddebug
ddio
logger
mem
module
${PLATFORM_LIBS}
)