You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
499 B

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,21 +18,6 @@ include(FeatureSummary)
include(mjpg_streamer_utils)
#
-# Get the current git hash
-#
-execute_process(
- COMMAND git rev-parse HEAD
- WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
- RESULT_VARIABLE GIT_RESULT
- OUTPUT_VARIABLE GIT_HASH
- OUTPUT_STRIP_TRAILING_WHITESPACE
-)
-
-if(GIT_RESULT EQUAL 0)
- add_definitions("-DGIT_HASH=\"${GIT_HASH}\"")
-endif()
-
-#
# Options
#
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DDEBUG")