nod/driver/CMakeLists.txt

14 lines
365 B
CMake
Raw Permalink 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")
2016-10-27 16:49:40 -07:00
target_link_libraries(nodtool execinfo)
else ()
2016-10-27 16:49:40 -07:00
target_link_libraries(nodtool dl)
endif ()
else ()
target_sources(nodtool PRIVATE app.manifest)
endif ()