mirror of
https://github.com/vmatare/thinkfan.git
synced 2024-09-11 11:40:19 +03:00
Compare commits
2 Commits
926d5410c2
...
35c1781c5d
Author | SHA1 | Date | |
---|---|---|---|
|
35c1781c5d | ||
|
a1e829c9e3 |
@ -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