nod/driver/CMakeLists.txt

14 lines
365 B
CMake
Raw Normal View History

2016-03-04 23:04:30 +00:00
add_executable(nodtool main.cpp)
2015-07-07 03:22:19 +00:00
2016-03-04 23:04:30 +00:00
target_link_libraries(nodtool nod logvisor)
2015-07-07 03:22:19 +00:00
if (NOT WIN32)
2016-10-27 23:49:40 +00:00
target_link_libraries(nodtool pthread)
if (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
2016-10-27 23:49:40 +00:00
target_link_libraries(nodtool execinfo)
else ()
2016-10-27 23:49:40 +00:00
target_link_libraries(nodtool dl)
endif ()
else ()
target_sources(nodtool PRIVATE app.manifest)
endif ()