add handling for other linux distros
This commit is contained in:
@@ -7,7 +7,10 @@ target_link_libraries(qc
|
||||
)
|
||||
|
||||
if (WIN32)
|
||||
target_link_libraries(qc ws2_32)
|
||||
target_link_libraries(qc ws2_32)
|
||||
else()
|
||||
target_link_libraries(qc pthread md)
|
||||
target_link_libraries(qc pthread)
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
|
||||
target_link_libraries(qc md)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
@@ -29,6 +29,7 @@ extern "C"
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <errno.h>
|
||||
#include <cstring>
|
||||
|
||||
#include "crc32.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user