mirror of
https://github.com/digarok/gsplus.git
synced 2024-11-30 16:50:45 +00:00
rawnet - add link libraries, debugging defines.
This commit is contained in:
parent
698678f508
commit
1b1983b64a
@ -1,5 +1,5 @@
|
||||
|
||||
if (WIN32)
|
||||
if(WIN32)
|
||||
set(rawnetarch rawnetarch_win32.c)
|
||||
elseif(APPLE)
|
||||
set(rawnetarch rawnetarch_darwin.c)
|
||||
@ -10,4 +10,11 @@ endif()
|
||||
add_library(rawnet cs8900.c rawnet.c rawnetsupp.c ${rawnetarch})
|
||||
|
||||
target_compile_definitions(rawnet PUBLIC HAVE_RAWNET)
|
||||
target_compile_definitions(rawnet PRIVATE CS8900_DEBUG CS8900_DEBUG_STORE CS8900_DEBUG_LOAD)
|
||||
|
||||
if(WIN32)
|
||||
elseif(APPLE)
|
||||
target_link_libraries(rawnet PRIVATE "-framework vmnet")
|
||||
elseif(UNIX)
|
||||
target_link_libraries(rawnet PRIVATE pcap)
|
||||
endif()
|
Loading…
Reference in New Issue
Block a user