105 |
|
if(UNIX) |
106 |
|
list(APPEND rtrad_SOURCES unix_process.c) |
107 |
|
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") |
108 |
< |
list(APPEND rtrad_SOURCES strlcpy.c) |
108 |
> |
list(APPEND rtrad_SOURCES strnstr.c strlcpy.c) |
109 |
|
endif() |
110 |
|
else() |
111 |
< |
list(APPEND rtrad_SOURCES win_process.c win_popen.c win_usleep.c strlcpy.c) |
111 |
> |
list(APPEND rtrad_SOURCES win_process.c win_popen.c win_usleep.c strnstr.c strlcpy.c) |
112 |
|
endif() |
113 |
|
|
114 |
|
add_library(rtrad ${rtrad_SOURCES}) |
117 |
|
target_link_libraries(rtrad ws2_32) |
118 |
|
endif() |
119 |
|
|
120 |
< |
add_library(cpprad, |
120 |
> |
add_library(cpprad |
121 |
|
abitmap.cpp |
122 |
|
abitmapio.cpp |
123 |
|
) |