mirror of
https://github.com/open-goal/jak-project
synced 2026-06-25 10:12:14 -04:00
13 lines
263 B
CMake
13 lines
263 B
CMake
add_library(cross_sockets
|
|
SHARED
|
|
"xsocket.h"
|
|
"xsocket.cpp")
|
|
|
|
IF (WIN32)
|
|
# set stuff for windows
|
|
target_link_libraries(cross_sockets wsock32 ws2_32)
|
|
ELSE()
|
|
# set stuff for other systems
|
|
target_link_libraries(cross_sockets)
|
|
ENDIF()
|