mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2025-12-23 22:37:53 -05:00
misc: Move ZM_HAS_* defines to zoneminder-config.cmake
This commit is contained in:
@@ -24,8 +24,4 @@
|
||||
#define ZM_CONFIG_SUBDIR "@ZM_CONFIG_SUBDIR@" // Path to the ZoneMinder config subfolder
|
||||
#define ZM_VERSION "@VERSION@" // ZoneMinder Version
|
||||
|
||||
#define ZM_HAS_V4L1 @ZM_HAS_V4L1@
|
||||
#define ZM_HAS_V4L2 @ZM_HAS_V4L2@
|
||||
#define ZM_HAS_V4L @ZM_HAS_V4L@
|
||||
|
||||
#endif // ZM_CONFIG_DATA_H
|
||||
|
||||
@@ -67,6 +67,9 @@
|
||||
|
||||
/* Few ZM options that are needed by the source code */
|
||||
#cmakedefine ZM_MEM_MAPPED 1
|
||||
#cmakedefine ZM_HAS_V4L 1
|
||||
#cmakedefine ZM_HAS_V4L1 1
|
||||
#cmakedefine ZM_HAS_V4L2 1
|
||||
|
||||
/* Its safe to assume that signal return type is void. This is a fix for zm_signal.h */
|
||||
#define RETSIGTYPE void
|
||||
|
||||
Reference in New Issue
Block a user