Skip to content

Commit

Permalink
cmake: Add debian help to yaml-cpp error
Browse files Browse the repository at this point in the history
  • Loading branch information
vmatare committed Dec 2, 2022
1 parent 4931599 commit c6e48a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ set(SRC_FILES src/thinkfan.cpp src/config.cpp src/fans.cpp src/sensors.cpp

if(USE_YAML)
if(NOT YAML_CPP_FOUND)
message(FATAL_ERROR "USE_YAML enabled but yaml-cpp not found. Please install yaml-cpp[-devel]!")
message(FATAL_ERROR "USE_YAML enabled but yaml-cpp not found. Please install yaml-cpp-devel (RedHat) or libyaml-cpp-dev (Debian)!")
endif()
set(SRC_FILES ${SRC_FILES} src/yamlconfig.cpp)
endif(USE_YAML)
Expand Down

0 comments on commit c6e48a9

Please sign in to comment.