nod/driver/CMakeLists.txt

12 lines
304 B
CMake
Raw Normal View History

2016-03-04 15:04:30 -08:00
add_executable(nodtool main.cpp)
2015-07-06 20:22:19 -07:00
2016-03-04 15:04:30 -08:00
target_link_libraries(nodtool nod logvisor)
2015-07-06 20:22:19 -07:00
if (NOT WIN32)
2016-10-27 16:49:40 -07:00
target_link_libraries(nodtool pthread)
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
target_link_libraries(nodtool execinfo)
else()
target_link_libraries(nodtool dl)
endif()
2015-07-06 20:22:19 -07:00
endif()