mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-09 20:05:51 +00:00
* create cppcheck and clangformat targets
* apply code style (#67) * send values by reference * fix warnings on plugin destruction by disconnecting dataengines first * fix invalid hddtemp group definition
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
exec_program(
|
||||
"git"
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
ARGS "log" "-1" "--format=\"%h\""
|
||||
OUTPUT_VARIABLE COMMIT_SHA
|
||||
RETURN_VALUE GIT_RETURN
|
||||
"git"
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
ARGS "log" "-1" "--format=\"%h\""
|
||||
OUTPUT_VARIABLE COMMIT_SHA
|
||||
RETURN_VALUE GIT_RETURN
|
||||
)
|
||||
|
||||
if(${GIT_RETURN} EQUAL "0")
|
||||
if (${GIT_RETURN} EQUAL "0")
|
||||
set(PROJECT_COMMIT_SHA "${COMMIT_SHA}")
|
||||
endif()
|
||||
endif ()
|
||||
|
Reference in New Issue
Block a user