updated on Fri Jan 20 04:00:45 UTC 2012
[aur-mirror.git] / libwebcam / cmake.patch
blob7f086ff947ca61a919372fef195ba0e1ca46b0b2
1 --- a/libwebcam/CMakeLists.txt 2011-06-06 22:33:56.000000000 +0200
2 +++ b/libwebcam/CMakeLists.txt 2012-01-16 20:44:27.000000000 +0100
3 @@ -134,6 +134,8 @@
4 # PACKAGING
8 +if (EXISTS "/usr/bin/dpkg")
9 # Prerequisites
10 execute_process (
11 COMMAND /usr/bin/dpkg --print-architecture
12 @@ -198,3 +200,5 @@
14 include (CPack)
15 endif (${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
17 +endif (EXISTS "/usr/bin/dpkg")
18 --- a/uvcdynctrl/CMakeLists.txt 2011-06-06 22:33:56.000000000 +0200
19 +++ b/uvcdynctrl/CMakeLists.txt 2012-01-16 20:49:19.000000000 +0100
20 @@ -103,6 +103,8 @@
21 # Packaging
25 +if (EXISTS "/usr/bin/dpkg")
26 # Prerequisites
27 execute_process (
28 COMMAND /usr/bin/dpkg --print-architecture
29 @@ -168,3 +170,5 @@
31 include (CPack)
32 endif (${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
34 +endif (EXISTS "/usr/bin/dpkg")