mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
mjpg-streamer: Update to latest from github/jacksonliam repository. Add additional plugins for RTSP, UDP, etc.
Signed-off-by: Ted Hess <thess@kitschensync.net>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
--- 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")
|
||||
Reference in New Issue
Block a user