--- ./wodim/CMakeLists.txt.orig	2007-05-30 21:55:02.000000000 +0400
+++ ./wodim/CMakeLists.txt	2012-01-14 20:56:17.754839146 +0400
@@ -9,16 +9,6 @@
 
 INCLUDE(CheckIncludeFiles)
 
-#force libcap usage on Linux
-CHECK_INCLUDE_FILES("sys/capability.h" HAVE_SYS_CAPABILITY_H)
-IF(HAVE_SYS_CAPABILITY_H)
-	LIST(APPEND EXTRA_LIBS cap)
-ELSE(HAVE_SYS_CAPABILITY_H)
-   IF(CMAKE_SYSTEM_NAME MATCHES "Linux")
-      MESSAGE(FATAL_ERROR "Error: found a Linux system but no libcap header. Install libcap-dev.")
-   ENDIF(CMAKE_SYSTEM_NAME MATCHES "Linux")
-ENDIF(HAVE_SYS_CAPABILITY_H)
-
 LINK_DIRECTORIES(../librols ../libusal  ../libedc)
 
 ADD_DEFINITIONS(-DHAVE_LIB_EDC_ECC -DCLONE_WRITE -DDRV_DVD -DFIFO -DAUINFO -DUSE_LARGEFILES )
