mirror of
https://github.com/AxioDL/nod.git
synced 2025-07-06 05:05:55 +00:00
12 lines
304 B
CMake
12 lines
304 B
CMake
add_executable(nodtool main.cpp)
|
|
|
|
target_link_libraries(nodtool nod logvisor)
|
|
if (NOT WIN32)
|
|
target_link_libraries(nodtool pthread)
|
|
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
|
target_link_libraries(nodtool execinfo)
|
|
else()
|
|
target_link_libraries(nodtool dl)
|
|
endif()
|
|
endif()
|