diff options
author | wael <[email protected]> | 2022-10-22 09:23:52 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2022-10-22 09:23:52 +0300 |
commit | 6d273c8e44cadb58531dbeeb705eaecdab0d3fc9 (patch) | |
tree | 716bbf508f0a6fa11df89f25281fa9e373456b0d /CMakeLists.txt | |
parent | c775153e01d5bd39a5239b6b2153d56388e02810 (diff) | |
download | Hyprland-6d273c8e44cadb58531dbeeb705eaecdab0d3fc9.tar.gz Hyprland-6d273c8e44cadb58531dbeeb705eaecdab0d3fc9.zip |
CMakeLists.txt: use sh instead of bash
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 06aabd2c..da311fde 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,13 +22,13 @@ execute_process( OUTPUT_STRIP_TRAILING_WHITESPACE) execute_process( - COMMAND bash -c "git show ${GIT_COMMIT_HASH} | head -n 5 | tail -n 1" + COMMAND sh -c "git show ${GIT_COMMIT_HASH} | head -n 5 | tail -n 1" WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} OUTPUT_VARIABLE GIT_COMMIT_MESSAGE OUTPUT_STRIP_TRAILING_WHITESPACE) execute_process( - COMMAND bash -c "git diff-index --quiet HEAD -- || echo \"dirty\"" + COMMAND sh -c "git diff-index --quiet HEAD -- || echo \"dirty\"" WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} OUTPUT_VARIABLE GIT_DIRTY OUTPUT_STRIP_TRAILING_WHITESPACE) @@ -93,4 +93,4 @@ IF(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pg -no-pie -fno-builtin") SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pg -no-pie -fno-builtin") SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -pg -no-pie -fno-builtin") -ENDIF(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG)
\ No newline at end of file +ENDIF(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG) |