mirror of
https://github.com/hyprwm/hyprpaper.git
synced 2025-12-20 04:30:02 +01:00
Build error occurred; My prior commit broke the build commands listed on the main GitHub page because my commit contained "" marks. These two adjustments to CMakeLists.txt resolve this by escaping "" marks in commit messages.
This commit is contained in:
parent
6502c87e9c
commit
0db9511514
1 changed files with 3 additions and 2 deletions
|
|
@ -107,11 +107,12 @@ protocolnew("stable/xdg-shell" "xdg-shell" false)
|
|||
protocolnew("staging/cursor-shape" "cursor-shape-v1" false)
|
||||
protocolnew("stable/tablet" "tablet-v2" false)
|
||||
|
||||
string(REPLACE "\"" "\\\"" GIT_COMMIT_MESSAGE_ESCAPED "${GIT_COMMIT_MESSAGE}")
|
||||
target_compile_definitions(hyprpaper
|
||||
PRIVATE "-DGIT_COMMIT_HASH=\"${GIT_COMMIT_HASH}\"")
|
||||
target_compile_definitions(hyprpaper PRIVATE "-DGIT_BRANCH=\"${GIT_BRANCH}\"")
|
||||
target_compile_definitions(
|
||||
hyprpaper PRIVATE "-DGIT_COMMIT_MESSAGE=\"${GIT_COMMIT_MESSAGE}\"")
|
||||
target_compile_definitions(hyprpaper
|
||||
PRIVATE "-DGIT_COMMIT_MESSAGE=\"${GIT_COMMIT_MESSAGE_ESCAPED}\"")
|
||||
target_compile_definitions(hyprpaper PRIVATE "-DGIT_DIRTY=\"${GIT_DIRTY}\"")
|
||||
|
||||
target_link_libraries(hyprpaper rt)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue