add handling for other linux distros
This commit is contained in:
@@ -16,7 +16,10 @@ target_link_libraries(db
|
||||
)
|
||||
|
||||
if (WIN32)
|
||||
target_link_libraries(db ws2_32)
|
||||
target_link_libraries(db ws2_32)
|
||||
else()
|
||||
target_link_libraries(db pthread md)
|
||||
target_link_libraries(db pthread)
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
|
||||
target_link_libraries(db md)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user