Descent3/netcon/lanclient/CMakeLists.txt
Dan Raviv c6ffeb8ad4 Tweak var name to fix CMake errors on macOS
The tilde confuses CMake, maybe(?) due to CMP0053, though I would expect the OLD behavior to just keep working
2024-04-16 13:00:23 -07:00

10 lines
387 B
CMake

SET (HEADERS lanclient.h)
SET (CPPS lanclient.cpp)
SET (NETGAME_MODULE "TCP_IP")
ADD_LIBRARY(${NETGAME_MODULE} SHARED ${CPPS} ${HEADERS})
set_target_properties(${NETGAME_MODULE} PROPERTIES PREFIX "")
set_target_properties(${NETGAME_MODULE} PROPERTIES SUFFIX ".d3c")
install(TARGETS ${NETGAME_MODULE} DESTINATION "${D3_GAMEDIR}online/")
target_link_libraries(${NETGAME_MODULE} inetfile)