blob: 5ca02671023702e36853bebeeb26aaf2bfe080bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
--- a/libwebcam/CMakeLists.txt
+++ b/libwebcam/CMakeLists.txt
@@ -2,8 +2,7 @@
# GENERAL
#
-# Require CMake 2.6 because of the Debian packaging.
-cmake_minimum_required (VERSION 2.6)
+cmake_minimum_required (VERSION 3.5)
# uninstall target
configure_file(
--- a/libwebcam/libwebcam/CMakeLists.txt
+++ b/libwebcam/libwebcam/CMakeLists.txt
@@ -2,8 +2,7 @@
# GENERAL
#
-# Require CMake 2.6 because of the Debian packaging.
-cmake_minimum_required (VERSION 2.6)
+cmake_minimum_required (VERSION 3.5)
project (LIBWEBCAM)
--- a/libwebcam/uvcdynctrl/CMakeLists.txt
+++ b/libwebcam/uvcdynctrl/CMakeLists.txt
@@ -2,8 +2,7 @@
# GENERAL
#
-# Require CMake 2.6 because of the Debian packaging.
-cmake_minimum_required (VERSION 2.6)
+cmake_minimum_required (VERSION 3.5)
project (UVCDYNCTRL)
@@ -102,11 +101,11 @@
# Note that having absolute paths here requires CPACK_SET_DESTDIR to be set to "ON".
install (
FILES udev/rules/80-uvcdynctrl.rules
- DESTINATION /lib/udev/rules.d
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/udev/rules.d
)
install (
PROGRAMS udev/scripts/uvcdynctrl
- DESTINATION /lib/udev
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/udev
)
install (
DIRECTORY data
|