mirror of
https://github.com/vmatare/thinkfan.git
synced 2024-09-11 11:40:19 +03:00
commit
35c1781c5d
@ -133,6 +133,10 @@ if(USE_YAML)
|
||||
target_link_libraries(thinkfan PRIVATE ${YAML_CPP_LIBRARIES})
|
||||
endif(USE_YAML)
|
||||
|
||||
if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "riscv64")
|
||||
target_link_libraries(thinkfan PRIVATE -latomic)
|
||||
endif()
|
||||
|
||||
if(SYSTEMD_FOUND)
|
||||
target_compile_definitions(thinkfan PRIVATE -DHAVE_SYSTEMD)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user