FreeBSD fixes

This commit is contained in:
Phillip Stephens 2016-10-27 15:49:40 -08:00
parent d106299a11
commit bcfe1a5d33
1 changed files with 6 additions and 1 deletions

View File

@ -2,5 +2,10 @@ add_executable(nodtool main.cpp)
target_link_libraries(nodtool nod logvisor)
if (NOT WIN32)
target_link_libraries(nodtool pthread dl)
target_link_libraries(nodtool pthread)
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
target_link_libraries(nodtool execinfo)
else()
target_link_libraries(nodtool dl)
endif()
endif()