mirror of
https://github.com/AxioDL/nod.git
synced 2025-12-08 13:14:59 +00:00
14 lines
371 B
CMake
14 lines
371 B
CMake
add_executable(nodtool main.cpp)
|
|
|
|
target_link_libraries(nodtool nod spdlog::spdlog)
|
|
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 ()
|
|
else ()
|
|
target_sources(nodtool PRIVATE app.manifest)
|
|
endif ()
|