mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 19:55:23 +00:00
20 lines
283 B
CMake
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}
|
|
)
|