Cleanup
This commit is contained in:
parent
17f4dfd342
commit
bb70b7c743
@ -31,12 +31,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- `BUILD_DOC=ON` - Builds the documentation
|
||||
- `BUILD_DOC_HTML=BUILD_DOC` - Builds the html documentation (depends on `BUILD_DOC`)
|
||||
- `BUILD_DOC_MAN=BUILD_DOC` - Builds the manpages (depends on `BUILD_DOC`)
|
||||
- `BUILD_CONFIG=ON` - Generate sample config
|
||||
- `BUILD_SHELL=ON` - Generate shell completion files
|
||||
- `BUILD_CONFIG=ON` - Generates sample config
|
||||
- `BUILD_SHELL=ON` - Generates shell completion files
|
||||
- `DISABLE_ALL=OFF` - Disables all above targets by default. Individual
|
||||
targets can still be enabled explicitly.
|
||||
- The documentation can no longer be built by directly configuring the `doc`
|
||||
directory.
|
||||
- The sample config file is now placed in the `generated-sources` folder inside
|
||||
whatever folder you invoked `cmake` from instead of in the root folder of the
|
||||
repository.
|
||||
|
||||
### Added
|
||||
- Warn states for the cpu, memory, fs, and battery modules.
|
||||
|
@ -42,7 +42,7 @@ if (BUILD_SHELL)
|
||||
add_subdirectory(contrib/zsh)
|
||||
endif()
|
||||
|
||||
# Setup everything that uses a C++ compile (polybar, polybar-msg, tests)
|
||||
# Setup everything that uses a C++ compiler (polybar, polybar-msg, tests)
|
||||
if(HAS_CXX_COMPILATION)
|
||||
include(cxx)
|
||||
if(BUILD_LIBPOLY)
|
||||
|
@ -54,6 +54,6 @@ foreach(_comp ${Xcb_FIND_COMPONENTS})
|
||||
if(Xcb_${_comp}_FOUND AND NOT TARGET Xcb::${_comp})
|
||||
create_imported_target("Xcb::${_comp}" "${Xcb_${_comp}_INCLUDE_DIRS}" "${Xcb_${_comp}_LIBRARIES}")
|
||||
elseif(NOT Xcb_${_comp}_FOUND AND Xcb_FIND_REQUIRED)
|
||||
message(FATAL_ERROR "Xcb: Required component \"${_comp}\" is not found")
|
||||
message(FATAL_ERROR "Xcb: Required component \"${_comp}\" was not found")
|
||||
endif()
|
||||
endforeach()
|
||||
|
Loading…
Reference in New Issue
Block a user